Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.09 MB / 344.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 79.88 kB / 482.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3826, allocations: 62.43 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003032/0.3857, allocations: 1.695 MB / 0.5334 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3874, allocations: 0.994 MB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.3875, allocations: 5.125 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.3878, allocations: 62.73 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.3881, allocations: 107.4 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.3883, allocations: 76.91 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3885, allocations: 103.4 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.3886, allocations: 5.141 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3887, allocations: 50.95 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.394e-05/0.3888, allocations: 44.53 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3888, allocations: 7.875 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.3889, allocations: 36.59 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.389, allocations: 18.8 kB / 0.5349 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.389, allocations: 34.61 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.3892, allocations: 112.6 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3892, allocations: 1.375 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3892, allocations: 0 / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3893, allocations: 0 / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005294/0.3898, allocations: 409.6 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3898, allocations: 13.62 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3899, allocations: 12.95 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.3902, allocations: 209.3 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3902, allocations: 4.359 kB / 0.5356 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3902, allocations: 6.875 kB / 0.5356 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3904, allocations: 47.31 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3904, allocations: 0 / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3904, allocations: 3.984 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3904, allocations: 1.375 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.833e-05/0.3905, allocations: 12.25 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.3907, allocations: 187.4 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.3908, allocations: 49.8 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.3909, allocations: 25.03 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3909, allocations: 1.375 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.3911, allocations: 73.05 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3911, allocations: 0 / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002668/0.3914, allocations: 94.64 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3914, allocations: 52.78 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3916, allocations: 191.8 kB / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3916, allocations: 26.89 kB / 0.5364 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.3917, allocations: 104.8 kB / 0.5365 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3917, allocations: 22.41 kB / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.3918, allocations: 18.16 kB / 0.5365 GB, free: 9.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3919, allocations: 327.2 kB / 0.5368 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.392, allocations: 14.73 kB / 0.5368 GB, free: 9.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.392, allocations: 35.5 kB / 0.5369 GB, free: 9.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.095e-05/0.3921, allocations: 44.12 kB / 0.5369 GB, free: 9.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3921, allocations: 4 kB / 0.5369 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001636/0.3923, allocations: 87.86 kB / 0.537 GB, free: 9.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3923, allocations: 4.906 kB / 0.537 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3923, allocations: 5.312 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3924, allocations: 1.281 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.3924, allocations: 8.469 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3924, allocations: 4.969 kB / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.3925, allocations: 6.203 kB / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3925, allocations: 2.312 kB / 0.537 GB, free: 9.16 MB / 398.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 (7): * Single equations (assignments): 7 * 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 9.285e-05/0.3926, allocations: 131 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.3926, allocations: 12.56 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.3927, allocations: 17.89 kB / 0.5372 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3927, allocations: 0 / 0.5372 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3927, allocations: 1.031 kB / 0.5372 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3927, allocations: 0 / 0.5372 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3929, allocations: 192.9 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3929, allocations: 1.219 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.3929, allocations: 2.625 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3929, allocations: 5.094 kB / 0.5374 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3929, allocations: 4.969 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3929, allocations: 0 / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3929, allocations: 5.609 kB / 0.5374 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.3931, allocations: 108.7 kB / 0.5375 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.3932, allocations: 83.45 kB / 0.5376 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.3932, allocations: 1.5 kB / 0.5376 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.3932, allocations: 5.359 kB / 0.5376 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.3933, allocations: 6.531 kB / 0.5376 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3933, allocations: 2.531 kB / 0.5376 GB, free: 8.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3934, allocations: 152.2 kB / 0.5377 GB, free: 8.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3934, allocations: 0 / 0.5377 GB, free: 8.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.3937, allocations: 25.38 kB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009356/0.3946, allocations: 406 kB / 0.5381 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.3948, allocations: 52.12 kB / 0.5382 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3948, allocations: 4.062 kB / 0.5382 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/0.3948, allocations: 16.56 kB / 0.5382 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.3951, allocations: 31.56 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.3956, allocations: 225.7 kB / 0.5384 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3958, allocations: 0.6996 MB / 0.5391 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.3959, allocations: 14.41 kB / 0.5391 GB, free: 7.285 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3959, allocations: 4 kB / 0.5391 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Templates: time 0.00352/0.3994, allocations: 1.731 MB / 0.5408 GB, free: 6.383 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches