Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001501, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 90.16 kB / 270.9 MB, free: 8.379 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.5092/0.5092, allocations: 43.54 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 20 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.124, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.5899, allocations: 87.5 MB / 0.5642 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5902, allocations: 75.95 kB / 0.5643 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0221/0.6124, allocations: 5.169 MB / 0.5693 GB, free: 10.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6124, allocations: 0 / 0.5693 GB, free: 10.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.6124, allocations: 0 / 0.5693 GB, free: 10.03 MB / 394.7 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.0006009/0.6131, allocations: 427 kB / 0.5697 GB, free: 9.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.6131, allocations: 12.03 kB / 0.5697 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.6132, allocations: 7.906 kB / 0.5697 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.6136, allocations: 213.4 kB / 0.5699 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.6136, allocations: 4 kB / 0.5699 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.6136, allocations: 0 / 0.5699 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.6138, allocations: 49.67 kB / 0.57 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6138, allocations: 0 / 0.57 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6138, allocations: 0 / 0.57 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6138, allocations: 0 / 0.57 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.614, allocations: 17.02 kB / 0.57 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.6142, allocations: 193.5 kB / 0.5702 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.6145, allocations: 58.61 kB / 0.5702 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.6145, allocations: 0 / 0.5702 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.6147, allocations: 67.48 kB / 0.5703 GB, free: 8.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.754e-06/0.6147, allocations: 0 / 0.5703 GB, free: 8.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003828/0.6151, allocations: 101.7 kB / 0.5704 GB, free: 8.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.6151, allocations: 59.41 kB / 0.5705 GB, free: 8.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.6154, allocations: 161.4 kB / 0.5706 GB, free: 8.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.6154, allocations: 25.7 kB / 0.5706 GB, free: 8.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.6155, allocations: 166.6 kB / 0.5708 GB, free: 8.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.6156, allocations: 19.78 kB / 0.5708 GB, free: 8.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.6156, allocations: 7.938 kB / 0.5708 GB, free: 8.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6157, allocations: 310.8 kB / 0.5711 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.6158, allocations: 12 kB / 0.5711 GB, free: 7.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/0.6159, allocations: 33.69 kB / 0.5712 GB, free: 7.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.571e-05/0.616, allocations: 23.98 kB / 0.5712 GB, free: 7.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.616, allocations: 3.953 kB / 0.5712 GB, free: 7.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002258/0.6163, allocations: 73.62 kB / 0.5713 GB, free: 7.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6163, allocations: 4 kB / 0.5713 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6163, allocations: 0 / 0.5713 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.6163, allocations: 0 / 0.5713 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.6165, allocations: 15.98 kB / 0.5713 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.6165, allocations: 7.969 kB / 0.5713 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.6166, allocations: 8 kB / 0.5713 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.6166, allocations: 0 / 0.5713 GB, free: 7.785 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.6167, allocations: 129.8 kB / 0.5714 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.6168, allocations: 11.86 kB / 0.5714 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.6171, allocations: 97.89 kB / 0.5715 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6171, allocations: 0 / 0.5715 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6171, allocations: 0 / 0.5715 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.6171, allocations: 7.984 kB / 0.5715 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.6173, allocations: 189.6 kB / 0.5717 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6174, allocations: 3.984 kB / 0.5717 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.6174, allocations: 11.89 kB / 0.5717 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6174, allocations: 0 / 0.5717 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.6175, allocations: 3.984 kB / 0.5717 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6175, allocations: 0 / 0.5717 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6175, allocations: 0 / 0.5717 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.6178, allocations: 117.2 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.6179, allocations: 93 kB / 0.5719 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.6179, allocations: 8.016 kB / 0.5719 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.618, allocations: 4 kB / 0.5719 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.618, allocations: 3.984 kB / 0.572 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.6181, allocations: 4 kB / 0.572 GB, free: 7.012 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.6182, allocations: 140.8 kB / 0.5721 GB, free: 6.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6183, allocations: 0 / 0.5721 GB, free: 6.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.6186, allocations: 27.92 kB / 0.5721 GB, free: 6.848 MB / 394.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001204/0.6198, allocations: 423.8 kB / 0.5725 GB, free: 6.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.62, allocations: 39.98 kB / 0.5726 GB, free: 6.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.62, allocations: 0 / 0.5726 GB, free: 6.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.6201, allocations: 28.05 kB / 0.5726 GB, free: 6.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.6205, allocations: 24.11 kB / 0.5726 GB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.6211, allocations: 253.1 kB / 0.5728 GB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.6214, allocations: 0.7004 MB / 0.5735 GB, free: 5.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.6215, allocations: 19.42 kB / 0.5736 GB, free: 5.418 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6215, allocations: 4 kB / 0.5736 GB, free: 5.414 MB / 394.7 MB Notification: Performance of Templates: time 0.004869/0.6264, allocations: 1.693 MB / 0.5752 GB, free: 3.723 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches