Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001103/0.001103, allocations: 187 kB / 19.34 MB, free: 3.77 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.336/1.336, allocations: 222.9 MB / 243 MB, free: 15.14 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.2043/0.2043, allocations: 44.17 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 62.03 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1095, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00282/0.1124, allocations: 1.578 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007141/0.1131, allocations: 407.2 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.1132, allocations: 7.938 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1135, allocations: 79.77 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1137, allocations: 51.81 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.114, allocations: 95.7 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1141, allocations: 71.81 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1142, allocations: 16.17 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.1143, allocations: 43.83 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.1144, allocations: 43.84 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1144, allocations: 8 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.528e-05/0.1145, allocations: 47.91 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.1146, allocations: 23.92 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.1146, allocations: 19.81 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1148, allocations: 107.6 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1148, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1148, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1148, allocations: 0 / 473.3 MB, free: 11.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004613/0.1153, allocations: 403 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1154, allocations: 8.031 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1154, allocations: 16.84 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1156, allocations: 200 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1156, allocations: 4.375 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1156, allocations: 384 / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1158, allocations: 57.61 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1158, allocations: 3.906 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1158, allocations: 4 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1158, allocations: 0 / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.1159, allocations: 23.98 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1163, allocations: 296.8 kB / 474.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1164, allocations: 38.56 kB / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.1165, allocations: 20.94 kB / 474.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1165, allocations: 0 / 474.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1165, allocations: 34.56 kB / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.315e-06/0.1165, allocations: 0 / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000797/0.1173, allocations: 229.4 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1174, allocations: 51.41 kB / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1176, allocations: 214.1 kB / 474.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1176, allocations: 29.7 kB / 474.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.1177, allocations: 108 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1177, allocations: 19.66 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.1177, allocations: 25.7 kB / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1179, allocations: 322.8 kB / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.1179, allocations: 23.98 kB / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/0.118, allocations: 27.98 kB / 475.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1181, allocations: 56.83 kB / 475.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1182, allocations: 4 kB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001862/0.1183, allocations: 109.4 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1184, allocations: 7.938 kB / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1184, allocations: 0 / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1184, allocations: 4 kB / 475.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.1185, allocations: 19.98 kB / 475.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1185, allocations: 4.25 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.1186, allocations: 7.984 kB / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1186, allocations: 4 kB / 475.6 MB, free: 8.516 MB / 350.1 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 8.102e-05/0.1187, allocations: 121.8 kB / 475.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.1187, allocations: 11.89 kB / 475.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.119, allocations: 114.3 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.119, allocations: 8 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.119, allocations: 3.938 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.119, allocations: 3.984 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.1195, allocations: 399.2 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1195, allocations: 4 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.1195, allocations: 19.92 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1196, allocations: 0 / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1196, allocations: 12.03 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1196, allocations: 0 / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1196, allocations: 3.938 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1198, allocations: 200.2 kB / 476.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.1199, allocations: 88.95 kB / 476.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.1199, allocations: 0 / 476.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.12, allocations: 15.98 kB / 476.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.12, allocations: 4 kB / 476.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.12, allocations: 3.984 kB / 476.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1202, allocations: 151.2 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1202, allocations: 0 / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1204, allocations: 27.98 kB / 476.8 MB, free: 7.234 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: 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.001077/0.1215, allocations: 463.2 kB / 477.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1217, allocations: 59.97 kB / 477.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1217, allocations: 0 / 477.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1219, allocations: 43.97 kB / 477.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1222, allocations: 23.17 kB / 477.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.1227, allocations: 243.3 kB / 477.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.123, allocations: 0.7041 MB / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.615e-05/0.1231, allocations: 20.64 kB / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.1231, allocations: 11.44 kB / 478.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1231, allocations: 0 / 478.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of Templates: time 0.003984/0.1271, allocations: 1.32 MB / 479.7 MB, free: 4.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches