Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001211/0.001211, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.372/1.372, allocations: 222.9 MB / 242.5 MB, free: 15.46 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.2044/0.2044, allocations: 44.17 MB / 336.8 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.41 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003362/0.1156, allocations: 1.609 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.1164, allocations: 403.2 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.1165, allocations: 4 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1167, allocations: 19.92 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.1169, allocations: 31.91 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1172, allocations: 86.78 kB / 471.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1173, allocations: 51.84 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.1174, allocations: 8 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.1175, allocations: 23.86 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.1176, allocations: 19.91 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1176, allocations: 4 kB / 471.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.1177, allocations: 20 kB / 471.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.1177, allocations: 15.92 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.1178, allocations: 27.75 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1179, allocations: 59.91 kB / 471.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1179, allocations: 0 / 471.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1179, allocations: 0 / 471.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.118, allocations: 0 / 471.5 MB, free: 12.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004788/0.1184, allocations: 383.5 kB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1185, allocations: 8.031 kB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.1185, allocations: 8.844 kB / 471.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1188, allocations: 190.6 kB / 472.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.1188, allocations: 384 / 472.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1188, allocations: 384 / 472.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1189, allocations: 53.81 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.119, allocations: 7.875 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.119, allocations: 0 / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.119, allocations: 0 / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.69e-05/0.1191, allocations: 23.98 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.1195, allocations: 280.8 kB / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1197, allocations: 42.5 kB / 472.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.1198, allocations: 24.88 kB / 472.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1198, allocations: 0 / 472.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.1198, allocations: 30.56 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1198, allocations: 8 kB / 472.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005579/0.1204, allocations: 133.6 kB / 472.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1204, allocations: 51.41 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1206, allocations: 157.7 kB / 472.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1206, allocations: 29.7 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.1207, allocations: 88.14 kB / 473 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1207, allocations: 27.78 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1207, allocations: 13.72 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1209, allocations: 326.8 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.1209, allocations: 15.98 kB / 473.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-05/0.121, allocations: 19.98 kB / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1211, allocations: 40.84 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1212, allocations: 4 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000183/0.1213, allocations: 89.48 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1214, allocations: 10.66 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1214, allocations: 0 / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1214, allocations: 0 / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.295e-05/0.1215, allocations: 8 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1215, allocations: 7.969 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.1215, allocations: 4 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1215, allocations: 7.938 kB / 473.6 MB, free: 10.17 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 (5): * Single equations (assignments): 5 * 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 9.176e-05/0.1216, allocations: 122.3 kB / 473.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.1217, allocations: 7.906 kB / 473.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.1219, allocations: 97.89 kB / 473.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1219, allocations: 0 / 473.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1219, allocations: 320 / 473.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1219, allocations: 0 / 473.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.1224, allocations: 346.5 kB / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1224, allocations: 0 / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.1224, allocations: 15.92 kB / 474.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1224, allocations: 4 kB / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1225, allocations: 0 / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1225, allocations: 7.875 kB / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1225, allocations: 3.938 kB / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1227, allocations: 175.4 kB / 474.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.1227, allocations: 81.02 kB / 474.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.1228, allocations: 11.98 kB / 474.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.1228, allocations: 3.938 kB / 474.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.1229, allocations: 7.984 kB / 474.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1229, allocations: 0 / 474.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.493e-05/0.123, allocations: 119.3 kB / 474.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.123, allocations: 4 kB / 474.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1232, allocations: 11.98 kB / 474.6 MB, free: 9.062 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008975/0.1241, allocations: 394.4 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1243, allocations: 47.95 kB / 475 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1244, allocations: 3.938 kB / 475 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.1244, allocations: 23.98 kB / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1248, allocations: 19.66 kB / 475.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.1252, allocations: 232.8 kB / 475.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1255, allocations: 0.6887 MB / 476 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.1255, allocations: 15.44 kB / 476 MB, free: 7.742 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1255, allocations: 0 / 476 MB, free: 7.742 MB / 350.1 MB Notification: Performance of Templates: time 0.003146/0.1287, allocations: 1.372 MB / 477.4 MB, free: 6.371 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches