Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008931, allocations: 95.34 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.0009421/0.0009425, allocations: 177.9 kB / 16.57 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.378/1.378, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3257/0.3257, allocations: 43.54 MB / 314.5 MB, free: 9.059 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.0004725/0.0004726, allocations: 16 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 58.87 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001872/0.1088, allocations: 1.45 MB / 444.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.11, allocations: 0.8124 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.1101, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.1105, allocations: 275.4 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1108, allocations: 191.5 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1111, allocations: 115.7 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1114, allocations: 163.7 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.1114, allocations: 13.55 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1115, allocations: 115.6 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1117, allocations: 139.6 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1118, allocations: 4 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.1118, allocations: 27.98 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.112, allocations: 131.6 kB / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.112, allocations: 73.45 kB / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1123, allocations: 275.7 kB / 446.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1123, allocations: 3.938 kB / 446.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1123, allocations: 4 kB / 446.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1123, allocations: 4 kB / 446.5 MB, free: 9.504 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.0008279/0.1132, allocations: 0.6609 MB / 447.2 MB, free: 8.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1132, allocations: 16.02 kB / 447.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.1133, allocations: 43.44 kB / 447.3 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.1139, allocations: 423.1 kB / 447.7 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1139, allocations: 0 / 447.7 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.1139, allocations: 7.984 kB / 447.7 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1141, allocations: 83.38 kB / 447.8 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1142, allocations: 0 / 447.8 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1142, allocations: 3.984 kB / 447.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1142, allocations: 3.953 kB / 447.8 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1143, allocations: 31.92 kB / 447.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1147, allocations: 374.2 kB / 448.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.115, allocations: 109.3 kB / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.115, allocations: 0 / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.1152, allocations: 113.1 kB / 448.4 MB, free: 7.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1153, allocations: 0 / 448.4 MB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004583/0.1157, allocations: 193.5 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.1158, allocations: 85 kB / 448.6 MB, free: 7.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1169, allocations: 1.007 MB / 449.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1169, allocations: 29.7 kB / 449.7 MB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1171, allocations: 228.1 kB / 449.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.1171, allocations: 39.62 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.1171, allocations: 0 / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1173, allocations: 366.8 kB / 450.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.1173, allocations: 27.98 kB / 450.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.1174, allocations: 59.42 kB / 450.4 MB, free: 5.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.158e-05/0.1175, allocations: 40.05 kB / 450.4 MB, free: 5.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1175, allocations: 0 / 450.4 MB, free: 5.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002586/0.1178, allocations: 165 kB / 450.6 MB, free: 5.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1178, allocations: 4 kB / 450.6 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1178, allocations: 4 kB / 450.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1178, allocations: 3.984 kB / 450.6 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.118, allocations: 16 kB / 450.6 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.118, allocations: 11.89 kB / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.1181, allocations: 15.95 kB / 450.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1181, allocations: 8 kB / 450.7 MB, free: 5.117 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 0.0001872/0.1183, allocations: 225.6 kB / 450.9 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.1183, allocations: 47.34 kB / 450.9 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.1184, allocations: 59.78 kB / 451 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1184, allocations: 4 kB / 451 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1184, allocations: 0 / 451 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1184, allocations: 3.953 kB / 451 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1187, allocations: 337.4 kB / 451.3 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1187, allocations: 4 kB / 451.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.1187, allocations: 7.984 kB / 451.3 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1188, allocations: 4 kB / 451.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1188, allocations: 0 / 451.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1188, allocations: 0 / 451.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1188, allocations: 0 / 451.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1191, allocations: 215 kB / 451.5 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.1193, allocations: 148.4 kB / 451.7 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.1193, allocations: 128 / 451.7 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.1194, allocations: 11.98 kB / 451.7 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1194, allocations: 15.94 kB / 451.7 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1195, allocations: 7.984 kB / 451.7 MB, free: 3.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000773/0.1202, allocations: 0.7525 MB / 452.5 MB, free: 3.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1203, allocations: 0 / 452.5 MB, free: 3.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1205, allocations: 40 kB / 452.5 MB, free: 3.152 MB / 382.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008994/0.1214, allocations: 418.1 kB / 452.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1216, allocations: 79.89 kB / 453 MB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1216, allocations: 0 / 453 MB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.96e-05/0.1217, allocations: 40.3 kB / 453 MB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1221, allocations: 70.52 kB / 453.1 MB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1231, allocations: 0.8775 MB / 454 MB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1235, allocations: 0.8507 MB / 454.8 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1236, allocations: 58.94 kB / 454.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.1237, allocations: 27.42 kB / 454.9 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1237, allocations: 0 / 454.9 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of Templates: time 0.188/0.3117, allocations: 3.332 MB / 458.2 MB, free: 45.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches