Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001314, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001309/0.001309, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.344/1.344, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2023/0.2023, allocations: 44.19 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 68.86 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003349/0.1121, allocations: 1.777 MB / 471.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1144, allocations: 1.561 MB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.1145, allocations: 4 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.1148, allocations: 55.67 kB / 473.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1151, allocations: 83.55 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.1155, allocations: 177.8 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1158, allocations: 175.5 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.1158, allocations: 17.53 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.116, allocations: 79.58 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1162, allocations: 71.69 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.1162, allocations: 11.94 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1163, allocations: 67.95 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.1164, allocations: 23.92 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.1165, allocations: 59.59 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1168, allocations: 167.8 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1168, allocations: 0 / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1168, allocations: 3.938 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1168, allocations: 4 kB / 474.3 MB, free: 10.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006426/0.1175, allocations: 462.7 kB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1175, allocations: 8.031 kB / 474.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.1176, allocations: 16.75 kB / 474.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1179, allocations: 243.9 kB / 475 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1179, allocations: 384 / 475 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1179, allocations: 12.12 kB / 475 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1181, allocations: 97.02 kB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1182, allocations: 7.938 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1182, allocations: 4 kB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1182, allocations: 4 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1183, allocations: 35.91 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.1186, allocations: 210.5 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1188, allocations: 105.2 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.46e-05/0.1189, allocations: 41.64 kB / 475.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.119, allocations: 7.938 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.1193, allocations: 113.1 kB / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.825e-06/0.1193, allocations: 3.984 kB / 475.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004557/0.1197, allocations: 161.4 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.1198, allocations: 132.5 kB / 475.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1201, allocations: 211.8 kB / 476.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1201, allocations: 25.7 kB / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.1202, allocations: 116.1 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.1202, allocations: 31.69 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.1203, allocations: 29.72 kB / 476.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1204, allocations: 334.8 kB / 476.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.1205, allocations: 23.98 kB / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1206, allocations: 73.14 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1208, allocations: 91.38 kB / 476.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1208, allocations: 4 kB / 476.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002665/0.1211, allocations: 133.8 kB / 476.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1211, allocations: 8 kB / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1211, allocations: 128 / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1211, allocations: 8.062 kB / 477 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1213, allocations: 31.92 kB / 477 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1213, allocations: 0 / 477 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.1214, allocations: 15.92 kB / 477 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1214, allocations: 7.984 kB / 477 MB, free: 6.957 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.1215, allocations: 125.8 kB / 477.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.1216, allocations: 15.81 kB / 477.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.1216, allocations: 24.98 kB / 477.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1216, allocations: 4 kB / 477.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1216, allocations: 0 / 477.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1216, allocations: 4 kB / 477.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1218, allocations: 225.4 kB / 477.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1218, allocations: 0 / 477.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.1219, allocations: 7.938 kB / 477.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.1219, allocations: 4 kB / 477.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1219, allocations: 0 / 477.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1219, allocations: 0 / 477.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1219, allocations: 7.984 kB / 477.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1222, allocations: 169.6 kB / 477.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.1223, allocations: 92.95 kB / 477.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1223, allocations: 0 / 477.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.1224, allocations: 7.984 kB / 477.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.1225, allocations: 8 kB / 477.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1225, allocations: 7.984 kB / 477.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1226, allocations: 160.2 kB / 477.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1226, allocations: 3.938 kB / 477.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1229, allocations: 35.98 kB / 477.9 MB, free: 5.969 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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 (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.001013/0.1239, allocations: 449.5 kB / 478.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.1242, allocations: 91.83 kB / 478.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1242, allocations: 0 / 478.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1243, allocations: 35.98 kB / 478.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1247, allocations: 66.48 kB / 478.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.1253, allocations: 297.5 kB / 478.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1256, allocations: 0.7202 MB / 479.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.1257, allocations: 23.44 kB / 479.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1257, allocations: 0 / 479.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of Templates: time 0.004582/0.1303, allocations: 2.741 MB / 482.3 MB, free: 1.703 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches