Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008619/0.0008618, allocations: 96.28 kB / 15.69 MB, free: 480 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.0008294/0.0008296, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.359/1.359, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3205/0.3205, allocations: 43.54 MB / 314.5 MB, free: 9.047 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.0004601/0.0004603, allocations: 16 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.111, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002278/0.1134, allocations: 1.592 MB / 444.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1146, allocations: 0.7578 MB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1148, allocations: 4 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.115, allocations: 35.77 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.1153, allocations: 47.88 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1156, allocations: 87.77 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1158, allocations: 91.72 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1159, allocations: 25.45 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.116, allocations: 47.78 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.1161, allocations: 35.78 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1161, allocations: 8 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.765e-05/0.1162, allocations: 31.92 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.1162, allocations: 19.91 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.1163, allocations: 45.64 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1165, allocations: 108 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1165, allocations: 0 / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1165, allocations: 0 / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1165, allocations: 0 / 445.7 MB, free: 10.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005393/0.117, allocations: 468.4 kB / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1171, allocations: 12.03 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1171, allocations: 15.75 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1174, allocations: 211.6 kB / 446.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1174, allocations: 7.938 kB / 446.4 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1174, allocations: 8 kB / 446.4 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.1177, allocations: 108.2 kB / 446.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1177, allocations: 0 / 446.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1177, allocations: 4 kB / 446.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1177, allocations: 7.953 kB / 446.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.1179, allocations: 47.91 kB / 446.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.1184, allocations: 0.5204 MB / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.1188, allocations: 86.67 kB / 447.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1188, allocations: 3.984 kB / 447.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.119, allocations: 87.31 kB / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.119, allocations: 0 / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003779/0.1194, allocations: 153.7 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1194, allocations: 55.39 kB / 447.5 MB, free: 8.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1196, allocations: 187.5 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1196, allocations: 25.8 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.1197, allocations: 119.9 kB / 447.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1198, allocations: 27.61 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.1198, allocations: 4 kB / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1199, allocations: 322.8 kB / 448.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.12, allocations: 32.11 kB / 448.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1201, allocations: 76.27 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.1202, allocations: 39.94 kB / 448.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1202, allocations: 0 / 448.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002688/0.1205, allocations: 141.3 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1205, allocations: 4 kB / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1205, allocations: 0 / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1205, allocations: 4 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.1207, allocations: 28.11 kB / 448.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1207, allocations: 0 / 448.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.1207, allocations: 19.92 kB / 448.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1208, allocations: 4 kB / 448.5 MB, free: 7.301 MB / 382.1 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 0.0001021/0.1209, allocations: 133.7 kB / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1209, allocations: 19.77 kB / 448.6 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.121, allocations: 17.39 kB / 448.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.121, allocations: 4 kB / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.121, allocations: 0 / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.121, allocations: 0 / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1212, allocations: 209.8 kB / 448.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1212, allocations: 0 / 448.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.1213, allocations: 15.98 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1213, allocations: 3.953 kB / 448.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1214, allocations: 8 kB / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1214, allocations: 0 / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1214, allocations: 3.938 kB / 448.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.1218, allocations: 188.9 kB / 449.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.1218, allocations: 96.88 kB / 449.1 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1219, allocations: 3.953 kB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.1219, allocations: 15.98 kB / 449.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.122, allocations: 8.062 kB / 449.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.122, allocations: 7.984 kB / 449.2 MB, free: 6.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1221, allocations: 133.2 kB / 449.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1221, allocations: 0 / 449.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1224, allocations: 27.98 kB / 449.3 MB, free: 6.328 MB / 382.1 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.00084/0.1232, allocations: 413.4 kB / 449.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.1235, allocations: 83.84 kB / 449.8 MB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1235, allocations: 4 kB / 449.8 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.1236, allocations: 39.97 kB / 449.9 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1238, allocations: 20.17 kB / 449.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.1243, allocations: 305.8 kB / 450.2 MB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1247, allocations: 0.7201 MB / 450.9 MB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.1247, allocations: 21.39 kB / 450.9 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.1248, allocations: 15.44 kB / 450.9 MB, free: 4.699 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1248, allocations: 0 / 450.9 MB, free: 4.699 MB / 382.1 MB Notification: Performance of Templates: time 0.004122/0.1289, allocations: 1.727 MB / 452.7 MB, free: 2.977 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches