Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 105.8 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.389/0.389, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3757, allocations: 62.01 MB / 0.5152 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003345/0.3791, allocations: 1.801 MB / 0.5169 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.381, allocations: 1.022 MB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3811, allocations: 2.875 kB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.3816, allocations: 39.75 kB / 0.518 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.3818, allocations: 80.5 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.3821, allocations: 95.16 kB / 0.5181 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3823, allocations: 104.6 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3824, allocations: 12.62 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.3825, allocations: 40.61 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.3826, allocations: 40.66 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3826, allocations: 0 / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.3827, allocations: 41.91 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.3828, allocations: 19.91 kB / 0.5184 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.3828, allocations: 47.52 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.383, allocations: 111.8 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3831, allocations: 4 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3831, allocations: 0 / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.3831, allocations: 0 / 0.5185 GB, free: 35.59 MB / 378.7 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.000532/0.3836, allocations: 427.8 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3837, allocations: 7.938 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.3837, allocations: 10.16 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.3839, allocations: 213.7 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3839, allocations: 3.281 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.384, allocations: 4.125 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3841, allocations: 67.06 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3841, allocations: 0 / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3841, allocations: 0 / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3841, allocations: 0 / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.3842, allocations: 19.25 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.3845, allocations: 300.2 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3847, allocations: 59.73 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.3848, allocations: 24.59 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3848, allocations: 0 / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.385, allocations: 60.84 kB / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.385, allocations: 0 / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005305/0.3856, allocations: 179.9 kB / 0.5198 GB, free: 34.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.3856, allocations: 55.41 kB / 0.5199 GB, free: 34.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3857, allocations: 205.3 kB / 0.5201 GB, free: 34.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.3858, allocations: 28.64 kB / 0.5201 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.3858, allocations: 102.4 kB / 0.5202 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.3858, allocations: 28.34 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.3859, allocations: 19.78 kB / 0.5203 GB, free: 34.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.3859, allocations: 332.2 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.386, allocations: 25.75 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.537e-05/0.3861, allocations: 40.16 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.551e-05/0.3862, allocations: 60.23 kB / 0.5207 GB, free: 33.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3862, allocations: 3.797 kB / 0.5207 GB, free: 33.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001518/0.3863, allocations: 104.1 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3864, allocations: 2.812 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3864, allocations: 3.281 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3864, allocations: 4.031 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.3865, allocations: 17.16 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3865, allocations: 160 / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.3865, allocations: 10.84 kB / 0.5208 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3865, allocations: 6.203 kB / 0.5208 GB, free: 33.56 MB / 378.7 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 6.97e-05/0.3866, allocations: 126.5 kB / 0.521 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.3866, allocations: 9.594 kB / 0.521 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/0.3867, allocations: 22.52 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3867, allocations: 6.906 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3867, allocations: 0 / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3867, allocations: 3.938 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.387, allocations: 395.2 kB / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3871, allocations: 0 / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.3871, allocations: 8.953 kB / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3871, allocations: 3 kB / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3871, allocations: 8.125 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3871, allocations: 7.094 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3871, allocations: 3.938 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.3875, allocations: 0.7807 MB / 0.5222 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.3876, allocations: 91.69 kB / 0.5223 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3876, allocations: 6.969 kB / 0.5223 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.3877, allocations: 7.375 kB / 0.5223 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.3877, allocations: 5.562 kB / 0.5223 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3877, allocations: 5.969 kB / 0.5223 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.891e-05/0.3878, allocations: 155.1 kB / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3878, allocations: 0 / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.3882, allocations: 27.41 kB / 0.5225 GB, free: 32.07 MB / 378.7 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.00102/0.3892, allocations: 464.6 kB / 0.5229 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.3894, allocations: 66.08 kB / 0.523 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3894, allocations: 0 / 0.523 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.824e-05/0.3895, allocations: 24.88 kB / 0.523 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3898, allocations: 35.22 kB / 0.523 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.3903, allocations: 389.5 kB / 0.5234 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.3905, allocations: 0.7039 MB / 0.5241 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.758e-05/0.3906, allocations: 23.33 kB / 0.5241 GB, free: 30.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.3906, allocations: 26.58 kB / 0.5241 GB, free: 30.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3906, allocations: 0 / 0.5241 GB, free: 30.75 MB / 378.7 MB Notification: Performance of Templates: time 0.003881/0.3945, allocations: 1.702 MB / 0.5258 GB, free: 30.56 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches