Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.001269, allocations: 108.3 kB / 18.41 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.17 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.38 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003159/0.1186, allocations: 1.699 MB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1206, allocations: 1.479 MB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.1207, allocations: 0 / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.121, allocations: 43.7 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.1212, allocations: 63.69 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1215, allocations: 110.2 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1217, allocations: 99.75 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1218, allocations: 8.234 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.1219, allocations: 47.77 kB / 474.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.122, allocations: 27.86 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.122, allocations: 7.938 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1222, allocations: 63.95 kB / 474.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.1222, allocations: 15.98 kB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.1223, allocations: 23.81 kB / 474.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1225, allocations: 131.5 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1225, allocations: 8 kB / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1225, allocations: 0 / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1226, allocations: 0 / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005395/0.1231, allocations: 395.2 kB / 474.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1231, allocations: 12.03 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.1232, allocations: 8.844 kB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.1235, allocations: 208 kB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1235, allocations: 8.375 kB / 475.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1235, allocations: 4.125 kB / 475.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1237, allocations: 79.31 kB / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1237, allocations: 0 / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1237, allocations: 4 kB / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1237, allocations: 0 / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.1238, allocations: 23.97 kB / 475.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.1242, allocations: 284.9 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1243, allocations: 54.62 kB / 475.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.1244, allocations: 20.84 kB / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1244, allocations: 0 / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1246, allocations: 71.39 kB / 475.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1246, allocations: 0 / 475.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005099/0.1251, allocations: 177.1 kB / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.1252, allocations: 85.05 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1254, allocations: 149.8 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1254, allocations: 25.7 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.1255, allocations: 96.14 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1255, allocations: 23.7 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1256, allocations: 25.72 kB / 476.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1257, allocations: 322.8 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.1258, allocations: 23.98 kB / 476.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.1258, allocations: 46.5 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1259, allocations: 49.72 kB / 476.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.126, allocations: 0 / 476.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.1261, allocations: 105.5 kB / 476.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1262, allocations: 8 kB / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1262, allocations: 0 / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1262, allocations: 0 / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.1263, allocations: 15.98 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1263, allocations: 4 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.1264, allocations: 7.875 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1264, allocations: 8 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.578e-05/0.1265, allocations: 125.8 kB / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.1265, allocations: 11.91 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.1265, allocations: 16.7 kB / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1266, allocations: 0 / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1266, allocations: 384 / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1266, allocations: 3.938 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.127, allocations: 387.3 kB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.127, allocations: 4 kB / 477.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.1271, allocations: 16.02 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1271, allocations: 0 / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1271, allocations: 7.938 kB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1271, allocations: 0 / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1271, allocations: 0 / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.1273, allocations: 208.1 kB / 477.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1274, allocations: 85.02 kB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1274, allocations: 11.92 kB / 477.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1275, allocations: 4 kB / 477.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1275, allocations: 8.188 kB / 477.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1275, allocations: 3.984 kB / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.1276, allocations: 121.4 kB / 477.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1276, allocations: 0 / 477.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1279, allocations: 31.98 kB / 477.9 MB, free: 6.109 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001139/0.1291, allocations: 0.4892 MB / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1293, allocations: 67.84 kB / 478.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1293, allocations: 0 / 478.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.1293, allocations: 31.92 kB / 478.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1297, allocations: 23.98 kB / 478.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.1302, allocations: 198.8 kB / 478.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1304, allocations: 0.6974 MB / 479.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.297e-05/0.1305, allocations: 25.17 kB / 479.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.1306, allocations: 19.42 kB / 479.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1306, allocations: 0 / 479.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of Templates: time 0.004861/0.1354, allocations: 1.953 MB / 481.4 MB, free: 2.766 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches