Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008906/0.0008907, allocations: 175 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007182/0.0007182, allocations: 90.7 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2915/0.2915, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 16 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.001946/0.103, allocations: 1.583 MB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1041, allocations: 0.7849 MB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.1042, allocations: 0 / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.1045, allocations: 35.83 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.1046, allocations: 47.77 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1049, allocations: 95.83 kB / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.105, allocations: 119.6 kB / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1052, allocations: 25.48 kB / 493.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.842e-05/0.1053, allocations: 51.7 kB / 493.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.1053, allocations: 43.72 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1054, allocations: 4 kB / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.1054, allocations: 32 kB / 493.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.1055, allocations: 27.89 kB / 493.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.104e-05/0.1056, allocations: 65.39 kB / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1057, allocations: 108 kB / 493.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1058, allocations: 4 kB / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1058, allocations: 0 / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1058, allocations: 0 / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005223/0.1063, allocations: 456.6 kB / 494.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1063, allocations: 12.03 kB / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.1064, allocations: 16.75 kB / 494.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1066, allocations: 228 kB / 494.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1066, allocations: 8.375 kB / 494.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1067, allocations: 12.11 kB / 494.6 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1069, allocations: 112 kB / 494.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1069, allocations: 4 kB / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1069, allocations: 0 / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1069, allocations: 4 kB / 494.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1071, allocations: 51.91 kB / 494.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.1076, allocations: 0.5087 MB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1079, allocations: 94.59 kB / 495.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.108, allocations: 44.83 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1081, allocations: 3.984 kB / 495.4 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.1083, allocations: 87.25 kB / 495.5 MB, free: 5.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1083, allocations: 0 / 495.5 MB, free: 5.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003528/0.1086, allocations: 153.4 kB / 495.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1087, allocations: 55.34 kB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.1089, allocations: 187.5 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1089, allocations: 29.7 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.109, allocations: 115.9 kB / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.109, allocations: 27.64 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.109, allocations: 0 / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1091, allocations: 330.8 kB / 496.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.24e-05/0.1092, allocations: 27.98 kB / 496.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.1093, allocations: 64.27 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1095, allocations: 108.1 kB / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1095, allocations: 0 / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002706/0.1098, allocations: 145.7 kB / 496.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1098, allocations: 4 kB / 496.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1098, allocations: 0 / 496.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1098, allocations: 4 kB / 496.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.1099, allocations: 31.92 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1099, allocations: 0 / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/0.11, allocations: 19.78 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.11, allocations: 8 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.061e-05/0.1101, allocations: 129.9 kB / 496.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.1101, allocations: 11.91 kB / 496.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.1102, allocations: 17.41 kB / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1102, allocations: 3.938 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1102, allocations: 0 / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1102, allocations: 0 / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.1104, allocations: 213.5 kB / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1104, allocations: 0 / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.1105, allocations: 16 kB / 497.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1105, allocations: 4 kB / 497.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1105, allocations: 4 kB / 497.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1105, allocations: 7.875 kB / 497.1 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1105, allocations: 0 / 497.1 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.1108, allocations: 180.9 kB / 497.3 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1109, allocations: 100.9 kB / 497.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.1109, allocations: 4 kB / 497.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.111, allocations: 15.92 kB / 497.4 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.111, allocations: 7.984 kB / 497.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1111, allocations: 0 / 497.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1112, allocations: 145.2 kB / 497.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1112, allocations: 0 / 497.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.1114, allocations: 24 kB / 497.6 MB, free: 3.465 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007774/0.1122, allocations: 419 kB / 498 MB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1124, allocations: 83.83 kB / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1124, allocations: 0 / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.1125, allocations: 36.23 kB / 498.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1128, allocations: 36.34 kB / 498.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.1133, allocations: 335.1 kB / 498.5 MB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1135, allocations: 0.7123 MB / 499.2 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.1136, allocations: 19.42 kB / 499.2 MB, free: 1.828 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1136, allocations: 0 / 499.2 MB, free: 1.828 MB / 378.7 MB Notification: Performance of Templates: time 0.1521/0.2656, allocations: 2.12 MB / 0.4896 GB, free: 42.45 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches