Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008458/0.0008459, allocations: 96.2 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008703/0.0008704, allocations: 177.6 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2813/0.2813, allocations: 43.54 MB / 314.5 MB, free: 8.777 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005097, allocations: 16 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09386, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001582/0.09548, allocations: 1.276 MB / 444 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004525/0.09594, allocations: 275.9 kB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.09599, allocations: 0 / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.09623, allocations: 91.73 kB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.09637, allocations: 59.86 kB / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.09657, allocations: 63.84 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.09669, allocations: 47.88 kB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.09678, allocations: 16.17 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.798e-05/0.09683, allocations: 39.83 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.792e-05/0.09692, allocations: 35.91 kB / 444.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.09693, allocations: 0 / 444.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.09699, allocations: 19.98 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.09703, allocations: 19.92 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.09707, allocations: 37.64 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.09718, allocations: 79.98 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.09719, allocations: 0 / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.0972, allocations: 8 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.075e-06/0.09721, allocations: 0 / 444.8 MB, free: 11 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003801/0.09759, allocations: 406.8 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.09763, allocations: 16.02 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.09768, allocations: 15.77 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.09784, allocations: 191.6 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.09786, allocations: 4 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.09789, allocations: 4 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.09802, allocations: 65.66 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.09804, allocations: 0 / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.09806, allocations: 4 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.09807, allocations: 4 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.09817, allocations: 43.86 kB / 445.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.09851, allocations: 300.8 kB / 445.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/0.09862, allocations: 50.56 kB / 445.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.09865, allocations: 3.984 kB / 445.9 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.09868, allocations: 38.5 kB / 445.9 MB, free: 9.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.09869, allocations: 0 / 445.9 MB, free: 9.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005568/0.09925, allocations: 197.3 kB / 446.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.09929, allocations: 59.28 kB / 446.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.09948, allocations: 234.3 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.0995, allocations: 25.7 kB / 446.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.09956, allocations: 112 kB / 446.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.09959, allocations: 31.7 kB / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.0996, allocations: 0 / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.0997, allocations: 326.8 kB / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.09978, allocations: 23.98 kB / 446.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.09985, allocations: 31.98 kB / 446.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.09993, allocations: 27.98 kB / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.09994, allocations: 0 / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002005/0.1001, allocations: 117.5 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1002, allocations: 7.953 kB / 447.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1002, allocations: 0 / 447.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1002, allocations: 3.984 kB / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.1003, allocations: 23.92 kB / 447.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1003, allocations: 0 / 447.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.1004, allocations: 8 kB / 447.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1004, allocations: 0 / 447.1 MB, free: 8.461 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/0.1004, allocations: 133.8 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1005, allocations: 11.91 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1007, allocations: 134.8 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1008, allocations: 0 / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1008, allocations: 4 kB / 447.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1008, allocations: 0 / 447.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.1012, allocations: 402.5 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1012, allocations: 0 / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.1013, allocations: 27.92 kB / 447.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1013, allocations: 0 / 447.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.1013, allocations: 4.375 kB / 447.8 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1013, allocations: 480 / 447.8 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1013, allocations: 8 kB / 447.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1015, allocations: 207.4 kB / 448 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1016, allocations: 92.88 kB / 448.1 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1016, allocations: 0 / 448.1 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1017, allocations: 19.92 kB / 448.2 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.1017, allocations: 0 / 448.2 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1017, allocations: 7.984 kB / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1019, allocations: 168.2 kB / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1019, allocations: 0 / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1021, allocations: 24 kB / 448.3 MB, free: 7.137 MB / 382.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000781/0.1029, allocations: 399.4 kB / 448.7 MB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1031, allocations: 71.95 kB / 448.8 MB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1031, allocations: 0 / 448.8 MB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.1032, allocations: 43.92 kB / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1034, allocations: 15.98 kB / 448.9 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.1038, allocations: 281.2 kB / 449.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.104, allocations: 0.7082 MB / 449.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.358e-05/0.1041, allocations: 16.66 kB / 449.9 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.1041, allocations: 11.44 kB / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1041, allocations: 4 kB / 449.9 MB, free: 5.578 MB / 382.1 MB Notification: Performance of Templates: time 0.003113/0.1072, allocations: 1.112 MB / 451 MB, free: 4.465 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches