Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000884/0.0008841, allocations: 90.77 kB / 18 MB, free: 5.34 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.001129/0.001129, allocations: 174.2 kB / 18.91 MB, free: 4.613 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.431/1.431, allocations: 223.3 MB / 243 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 44.24 MB / 338.3 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003173, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1134, allocations: 61.91 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002171/0.1156, allocations: 1.417 MB / 474.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1171, allocations: 0.8498 MB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.1172, allocations: 0 / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1176, allocations: 39.83 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1178, allocations: 55.77 kB / 475.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.118, allocations: 87.84 kB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1182, allocations: 87.75 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1183, allocations: 8.234 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/0.1184, allocations: 39.78 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.1185, allocations: 31.78 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1185, allocations: 4 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.1186, allocations: 43.98 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.1187, allocations: 19.92 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.1188, allocations: 57.44 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1189, allocations: 84.09 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1189, allocations: 0 / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.119, allocations: 0 / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.119, allocations: 0 / 475.7 MB, free: 10.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005767/0.1195, allocations: 399 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1196, allocations: 12.03 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.1196, allocations: 16.83 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1199, allocations: 200 kB / 476.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1199, allocations: 4.375 kB / 476.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1199, allocations: 8.125 kB / 476.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1201, allocations: 49.67 kB / 476.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1201, allocations: 7.984 kB / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1201, allocations: 4 kB / 476.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1201, allocations: 0 / 476.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.272e-05/0.1202, allocations: 27.86 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1206, allocations: 288.9 kB / 476.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1207, allocations: 54.69 kB / 476.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.1208, allocations: 20.84 kB / 476.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1208, allocations: 0 / 476.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.121, allocations: 79.33 kB / 476.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.121, allocations: 0 / 476.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000548/0.1216, allocations: 169.5 kB / 477 MB, free: 9.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1216, allocations: 51.41 kB / 477.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1218, allocations: 186.2 kB / 477.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1218, allocations: 29.7 kB / 477.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.1219, allocations: 96.14 kB / 477.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1219, allocations: 31.64 kB / 477.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.122, allocations: 13.72 kB / 477.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1221, allocations: 326.8 kB / 477.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.1222, allocations: 23.98 kB / 477.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.1222, allocations: 33.7 kB / 477.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1224, allocations: 69.64 kB / 477.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1224, allocations: 4 kB / 477.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/0.1226, allocations: 101.5 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1226, allocations: 11.94 kB / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1226, allocations: 0 / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1226, allocations: 0 / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1227, allocations: 20.05 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1227, allocations: 4 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1228, allocations: 3.938 kB / 478 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1228, allocations: 8 kB / 478 MB, free: 7.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001197/0.1229, allocations: 125.9 kB / 478.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.123, allocations: 7.906 kB / 478.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.123, allocations: 16.72 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.123, allocations: 0 / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.123, allocations: 0 / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1231, allocations: 3.938 kB / 478.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1235, allocations: 399.3 kB / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1236, allocations: 4.031 kB / 478.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.1236, allocations: 11.94 kB / 478.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1236, allocations: 192 / 478.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1236, allocations: 3.938 kB / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1236, allocations: 7.938 kB / 478.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1236, allocations: 0 / 478.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1239, allocations: 200.2 kB / 478.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.124, allocations: 93 kB / 478.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.124, allocations: 7.938 kB / 478.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1241, allocations: 4 kB / 478.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1241, allocations: 7.984 kB / 478.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.1241, allocations: 4 kB / 478.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1243, allocations: 151.1 kB / 479.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1243, allocations: 0 / 479.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1246, allocations: 20 kB / 479.1 MB, free: 6.805 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001091/0.1257, allocations: 475.2 kB / 479.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.1258, allocations: 59.89 kB / 479.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1258, allocations: 0 / 479.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.1259, allocations: 40.03 kB / 479.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1263, allocations: 23.98 kB / 479.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.1268, allocations: 268.2 kB / 479.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1272, allocations: 0.7081 MB / 480.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.1273, allocations: 23.42 kB / 480.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1273, allocations: 3.938 kB / 480.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of Templates: time 0.00443/0.1317, allocations: 1.877 MB / 482.5 MB, free: 3.465 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches