Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 106.3 kB / 17.33 MB, free: 6 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.001016/0.001016, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.51/1.51, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2148/0.2148, allocations: 44.18 MB / 336.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.09 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 60.84 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002968/0.1082, allocations: 1.984 MB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1098, allocations: 1.037 MB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.1099, allocations: 0 / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.1104, allocations: 191.5 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.1107, allocations: 139.6 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.1112, allocations: 210.2 kB / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1115, allocations: 251.3 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.1116, allocations: 21.67 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1117, allocations: 111.5 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1119, allocations: 111.5 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1119, allocations: 8 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.112, allocations: 51.98 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.1121, allocations: 63.75 kB / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.828e-05/0.1122, allocations: 75.48 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1125, allocations: 231.5 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1125, allocations: 0 / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1125, allocations: 4 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.1125, allocations: 0 / 473.2 MB, free: 10.22 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007061/0.1132, allocations: 0.5389 MB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.1132, allocations: 12.03 kB / 473.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.1133, allocations: 36.58 kB / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1136, allocations: 275.6 kB / 474 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1136, allocations: 8.375 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1136, allocations: 12.11 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.1139, allocations: 100.2 kB / 474.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.1139, allocations: 0 / 474.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1139, allocations: 4 kB / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1139, allocations: 4 kB / 474.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.114, allocations: 39.97 kB / 474.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.1145, allocations: 373.5 kB / 474.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.1148, allocations: 117.3 kB / 474.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1149, allocations: 45.64 kB / 474.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1149, allocations: 4 kB / 474.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.1151, allocations: 117 kB / 474.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.905e-06/0.1152, allocations: 0 / 474.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004417/0.1156, allocations: 181.2 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.1157, allocations: 110.8 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.116, allocations: 331 kB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1161, allocations: 29.7 kB / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1162, allocations: 140 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.1162, allocations: 35.7 kB / 475.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.1163, allocations: 29.7 kB / 475.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1164, allocations: 342.8 kB / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1165, allocations: 27.98 kB / 476.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1167, allocations: 81.52 kB / 476.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1169, allocations: 107.4 kB / 476.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1169, allocations: 0 / 476.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002886/0.1172, allocations: 141.3 kB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1172, allocations: 4 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1172, allocations: 4.062 kB / 476.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1172, allocations: 7.984 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1173, allocations: 19.94 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1174, allocations: 4 kB / 476.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.1175, allocations: 15.89 kB / 476.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1175, allocations: 7.938 kB / 476.4 MB, free: 6.668 MB / 350.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001474/0.1176, allocations: 141.8 kB / 476.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.1177, allocations: 23.72 kB / 476.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.1177, allocations: 37.72 kB / 476.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1177, allocations: 0 / 476.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1178, allocations: 0 / 476.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1178, allocations: 7.984 kB / 476.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.118, allocations: 249.4 kB / 476.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.118, allocations: 3.984 kB / 476.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.1181, allocations: 16.06 kB / 476.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1181, allocations: 0 / 476.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1181, allocations: 0 / 476.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1181, allocations: 4 kB / 476.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1181, allocations: 3.984 kB / 476.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.1184, allocations: 185.5 kB / 477.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.1185, allocations: 96.83 kB / 477.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1186, allocations: 3.984 kB / 477.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.1186, allocations: 8 kB / 477.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1187, allocations: 7.984 kB / 477.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.1187, allocations: 11.94 kB / 477.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.119, allocations: 257.9 kB / 477.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.119, allocations: 3.938 kB / 477.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1193, allocations: 36 kB / 477.5 MB, free: 5.488 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009874/0.1202, allocations: 418.7 kB / 477.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.1205, allocations: 91.91 kB / 478 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1205, allocations: 128 / 478 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1207, allocations: 55.91 kB / 478.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1211, allocations: 64.42 kB / 478.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.1217, allocations: 428.1 kB / 478.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.122, allocations: 0.7476 MB / 479.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.1221, allocations: 29.92 kB / 479.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.1222, allocations: 23.44 kB / 479.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1222, allocations: 0 / 479.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of Templates: time 0.006442/0.1287, allocations: 2.925 MB / 482.3 MB, free: 0.8633 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches