Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.002142/0.002142, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.386/1.386, allocations: 222.9 MB / 241.9 MB, free: 15.46 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.2203/0.2203, allocations: 44.18 MB / 336.2 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.95 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1127, allocations: 60.83 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003008/0.1158, allocations: 1.757 MB / 470.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1171, allocations: 0.8576 MB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.1172, allocations: 7.938 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1175, allocations: 27.89 kB / 471.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1178, allocations: 47.83 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1181, allocations: 103.7 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1182, allocations: 95.7 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1183, allocations: 12.22 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.169e-05/0.1184, allocations: 43.72 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.1185, allocations: 31.86 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1185, allocations: 4 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.1186, allocations: 47.97 kB / 471.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.1187, allocations: 23.86 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.1188, allocations: 35.75 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.119, allocations: 111.9 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.119, allocations: 0 / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.119, allocations: 0 / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.119, allocations: 0 / 471.9 MB, free: 11.54 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.0005249/0.1195, allocations: 407 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1196, allocations: 8.031 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.1196, allocations: 12.84 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1198, allocations: 211.9 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1199, allocations: 12.38 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1199, allocations: 4.125 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.12, allocations: 53.67 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.12, allocations: 0 / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1201, allocations: 4 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1201, allocations: 0 / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.1202, allocations: 15.98 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1205, allocations: 284.9 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1207, allocations: 62.61 kB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.1208, allocations: 20.86 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1208, allocations: 3.984 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.121, allocations: 67.33 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.121, allocations: 4 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005315/0.1216, allocations: 165.2 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1216, allocations: 63.38 kB / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1218, allocations: 182.2 kB / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1218, allocations: 25.7 kB / 473.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.1219, allocations: 104.1 kB / 473.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.1219, allocations: 27.64 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.122, allocations: 25.72 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1221, allocations: 334.7 kB / 474 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.1222, allocations: 23.98 kB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.1223, allocations: 37.64 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1224, allocations: 53.72 kB / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1224, allocations: 0 / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1226, allocations: 113.4 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1226, allocations: 8 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1226, allocations: 0 / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1227, allocations: 384 / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.1228, allocations: 12 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1228, allocations: 0 / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.1228, allocations: 19.86 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1228, allocations: 4 kB / 474.2 MB, free: 8.98 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.0001101/0.123, allocations: 124.7 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.123, allocations: 11.94 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.928e-05/0.123, allocations: 20.7 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1231, allocations: 0 / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1231, allocations: 0 / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1231, allocations: 3.938 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.1235, allocations: 391.3 kB / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1235, allocations: 0 / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1236, allocations: 11.98 kB / 474.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1236, allocations: 4.031 kB / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1236, allocations: 3.938 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1236, allocations: 4 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1236, allocations: 0 / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1239, allocations: 208.1 kB / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.1239, allocations: 84.95 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.124, allocations: 11.92 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.124, allocations: 8 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.1241, allocations: 4 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1241, allocations: 7.984 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1242, allocations: 139.2 kB / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1242, allocations: 0 / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1245, allocations: 31.98 kB / 475.3 MB, free: 7.824 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.001035/0.1255, allocations: 469.7 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1257, allocations: 55.92 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1257, allocations: 0 / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.1259, allocations: 31.92 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1262, allocations: 39.47 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.1266, allocations: 239.2 kB / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1269, allocations: 0.7079 MB / 476.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.403e-05/0.127, allocations: 21.19 kB / 476.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.127, allocations: 15.44 kB / 476.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.127, allocations: 0 / 476.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of Templates: time 0.004248/0.1313, allocations: 1.69 MB / 478.5 MB, free: 4.715 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches