Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.3 MB / 213.7 MB, free: 1.75 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009642/0.000964, allocations: 82.3 kB / 261.7 MB, free: 1.699 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2548/0.2548, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.72e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 58.87 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4599/0.5994, allocations: 86.95 MB / 0.5509 GB, free: 8.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.5997, allocations: 81.73 kB / 0.5509 GB, free: 8.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01284/0.6126, allocations: 5.32 MB / 0.5561 GB, free: 3.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6126, allocations: 0 / 0.5561 GB, free: 3.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.6126, allocations: 3.938 kB / 0.5561 GB, free: 3.801 MB / 362.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.0004196/0.6131, allocations: 389.7 kB / 0.5565 GB, free: 3.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.6131, allocations: 11.97 kB / 0.5565 GB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.6132, allocations: 16.64 kB / 0.5565 GB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.6135, allocations: 210.6 kB / 0.5567 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.6135, allocations: 0 / 0.5567 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.6135, allocations: 7.984 kB / 0.5567 GB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.687e-05/0.6136, allocations: 15.75 kB / 0.5568 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.6137, allocations: 53.17 kB / 0.5568 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6138, allocations: 0 / 0.5568 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.6138, allocations: 0 / 0.5568 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.6138, allocations: 3.938 kB / 0.5568 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.6142, allocations: 275.9 kB / 0.5571 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.6143, allocations: 58.31 kB / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.6143, allocations: 16.55 kB / 0.5571 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.6144, allocations: 0 / 0.5571 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.6145, allocations: 62.7 kB / 0.5572 GB, free: 2.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.6145, allocations: 0 / 0.5572 GB, free: 2.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004366/0.6149, allocations: 156.1 kB / 0.5574 GB, free: 2.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.615, allocations: 55.34 kB / 0.5574 GB, free: 2.422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.6151, allocations: 178.7 kB / 0.5576 GB, free: 2.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.6151, allocations: 29.7 kB / 0.5576 GB, free: 2.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.6152, allocations: 95.89 kB / 0.5577 GB, free: 2.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.6152, allocations: 23.52 kB / 0.5577 GB, free: 2.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-06/0.6152, allocations: 0 / 0.5577 GB, free: 2.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.598e-05/0.6153, allocations: 322.6 kB / 0.558 GB, free: 1.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.6153, allocations: 19.44 kB / 0.558 GB, free: 1.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.6154, allocations: 33.53 kB / 0.5581 GB, free: 1.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.6154, allocations: 23.67 kB / 0.5581 GB, free: 1.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.6154, allocations: 0 / 0.5581 GB, free: 1.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001292/0.6155, allocations: 96.45 kB / 0.5582 GB, free: 1.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6156, allocations: 7.125 kB / 0.5582 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6156, allocations: 0 / 0.5582 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6156, allocations: 0 / 0.5582 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.6157, allocations: 23.88 kB / 0.5582 GB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6157, allocations: 0 / 0.5582 GB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.6158, allocations: 12.02 kB / 0.5582 GB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.6158, allocations: 3.953 kB / 0.5582 GB, free: 1.621 MB / 362.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.6158, allocations: 106.5 kB / 0.5583 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.6159, allocations: 7.906 kB / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.6161, allocations: 113.3 kB / 0.5585 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6161, allocations: 4 kB / 0.5585 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6161, allocations: 288 / 0.5585 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6161, allocations: 0 / 0.5585 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.6164, allocations: 378.5 kB / 0.5588 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6164, allocations: 11.92 kB / 0.5588 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.6165, allocations: 11.62 kB / 0.5588 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6165, allocations: 0 / 0.5588 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.6165, allocations: 0 / 0.5588 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6165, allocations: 4 kB / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6165, allocations: 0 / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.6167, allocations: 213.1 kB / 0.559 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.6167, allocations: 96.66 kB / 0.5591 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.6168, allocations: 4 kB / 0.5591 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.6168, allocations: 0 / 0.5591 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.6169, allocations: 15.88 kB / 0.5592 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.6169, allocations: 7.875 kB / 0.5592 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.617, allocations: 138.3 kB / 0.5593 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.617, allocations: 8 kB / 0.5593 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.6172, allocations: 24 kB / 0.5593 GB, free: 0.5 MB / 362.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008525/0.6181, allocations: 397.5 kB / 0.5597 GB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.6183, allocations: 55.23 kB / 0.5598 GB, free: 128 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6183, allocations: 0 / 0.5598 GB, free: 128 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.6183, allocations: 27.31 kB / 0.5598 GB, free: 112 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.6186, allocations: 19.92 kB / 0.5598 GB, free: 96 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.619, allocations: 172.9 kB / 0.56 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.6193, allocations: 0.7113 MB / 0.5607 GB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.708e-05/0.6194, allocations: 8.562 kB / 0.5607 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.6194, allocations: 19.42 kB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6194, allocations: 4 kB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of Templates: time 0.004614/0.6241, allocations: 1.623 MB / 0.5623 GB, free: 13.54 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches