Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 91.5 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00158/0.00158, allocations: 160.5 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.987/0.987, allocations: 177 MB / 204.8 MB, free: 5.238 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2441/0.2441, allocations: 34.86 MB / 296.3 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.788e-05, allocations: 2.312 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001986/0.002004, allocations: 1.644 MB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007808/0.002785, allocations: 0.5408 MB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.00284, allocations: 0 / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.003083, allocations: 75.7 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.003335, allocations: 111.5 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.00354, allocations: 87.69 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.003675, allocations: 79.77 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.003762, allocations: 15.92 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.00382, allocations: 47.89 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.003904, allocations: 43.88 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.003919, allocations: 4 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.003991, allocations: 39.98 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.004038, allocations: 23.86 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.004067, allocations: 15.92 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.004221, allocations: 95.61 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004224, allocations: 0 / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.004226, allocations: 4 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004231, allocations: 0 / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00043/0.004661, allocations: 435.9 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.004694, allocations: 12.03 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.004734, allocations: 8.891 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.004863, allocations: 146.6 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.004872, allocations: 12.25 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.004891, allocations: 384 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.004992, allocations: 66.94 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.005001, allocations: 192 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005012, allocations: 4.375 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.005018, allocations: 384 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.005049, allocations: 15.92 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.00532, allocations: 283.8 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.005381, allocations: 46.98 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.005403, allocations: 11.69 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.005422, allocations: 0 / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.005448, allocations: 45.41 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.005448, allocations: 4 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000487/0.005935, allocations: 169.3 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.005967, allocations: 59.34 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.006091, allocations: 226.6 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.006101, allocations: 25.7 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.006156, allocations: 158.8 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.006179, allocations: 23.78 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.006209, allocations: 27.38 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.00632, allocations: 0.5001 MB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.00634, allocations: 8 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.006357, allocations: 7.984 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.006407, allocations: 35.69 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.006407, allocations: 0 / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.557e-05/0.006493, allocations: 81.47 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.006504, allocations: 4 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.006508, allocations: 0 / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.006519, allocations: 4 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.006582, allocations: 15.98 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006586, allocations: 320 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.006603, allocations: 8 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.00661, allocations: 7.922 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.006671, allocations: 160.6 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.00669, allocations: 15.84 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.006808, allocations: 99.47 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006809, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.006812, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.006815, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.007083, allocations: 377 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.007086, allocations: 8.016 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.007118, allocations: 12 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.007121, allocations: 3.984 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.007129, allocations: 4 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.00713, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.007132, allocations: 4 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.007244, allocations: 235.4 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.007251, allocations: 7.953 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.007264, allocations: 8 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.111e-05/0.007296, allocations: 3.984 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.007331, allocations: 8 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.007334, allocations: 4 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.736e-05/0.007402, allocations: 171.8 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007402, allocations: 0 / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001599/0.007562, allocations: 19.88 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008825/0.008444, allocations: 422.7 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.008551, allocations: 47.59 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008553, allocations: 0 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.008583, allocations: 39.61 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.008785, allocations: 23.92 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.009097, allocations: 226.2 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.009134, allocations: 64.98 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.009164, allocations: 12.72 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.009191, allocations: 16.5 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009191, allocations: 4.062 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of Templates: time 0.002979/0.01217, allocations: 1.47 MB / 387.5 MB, free: 9.152 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.061967817135155]