Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002004/0.00201, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 98.47 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2927/0.2927, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 4.954e-05/5.154e-05, allocations: 4 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4206, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5829, allocations: 86.96 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.5833, allocations: 75.95 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02483/0.6081, allocations: 5.506 MB / 0.5563 GB, free: 6.762 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6082, allocations: 7.875 kB / 0.5563 GB, free: 6.754 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.6082, allocations: 4 kB / 0.5563 GB, free: 6.75 MB / 395.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.0006156/0.6088, allocations: 398.2 kB / 0.5567 GB, free: 6.316 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.6089, allocations: 12.03 kB / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.6089, allocations: 11.81 kB / 0.5567 GB, free: 6.293 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.6094, allocations: 230.7 kB / 0.5569 GB, free: 6.027 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.6094, allocations: 0 / 0.5569 GB, free: 6.027 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.6094, allocations: 4 kB / 0.5569 GB, free: 6.023 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.225e-05/0.6095, allocations: 12 kB / 0.5569 GB, free: 6.012 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.6097, allocations: 53.67 kB / 0.557 GB, free: 5.953 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6097, allocations: 3.906 kB / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.6097, allocations: 0 / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.6098, allocations: 7.938 kB / 0.557 GB, free: 5.941 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.6102, allocations: 273.5 kB / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.6104, allocations: 58.62 kB / 0.5573 GB, free: 5.57 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.6105, allocations: 16.98 kB / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.6105, allocations: 0 / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.6107, allocations: 63.39 kB / 0.5574 GB, free: 5.477 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 3.928e-06/0.6107, allocations: 0 / 0.5574 GB, free: 5.477 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005872/0.6113, allocations: 161 kB / 0.5575 GB, free: 5.312 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.6113, allocations: 55.41 kB / 0.5576 GB, free: 5.246 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.6117, allocations: 197.8 kB / 0.5578 GB, free: 5.039 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.6117, allocations: 25.7 kB / 0.5578 GB, free: 5.008 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.6118, allocations: 166.6 kB / 0.558 GB, free: 4.844 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.6119, allocations: 27.64 kB / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.6119, allocations: 0 / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.612, allocations: 314.8 kB / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.6121, allocations: 20 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.6122, allocations: 33.7 kB / 0.5583 GB, free: 4.441 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.851e-05/0.6123, allocations: 19.94 kB / 0.5584 GB, free: 4.422 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6123, allocations: 0 / 0.5584 GB, free: 4.422 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002402/0.6126, allocations: 81.67 kB / 0.5584 GB, free: 4.336 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6126, allocations: 4 kB / 0.5584 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6126, allocations: 4 kB / 0.5585 GB, free: 4.328 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6126, allocations: 0 / 0.5585 GB, free: 4.328 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.6128, allocations: 24.16 kB / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/0.6128, allocations: 3.984 kB / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.6129, allocations: 8 kB / 0.5585 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.6129, allocations: 7.953 kB / 0.5585 GB, free: 4.285 MB / 395.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 ($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 9.576e-05/0.613, allocations: 101 kB / 0.5586 GB, free: 4.18 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.6131, allocations: 15.81 kB / 0.5586 GB, free: 4.164 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.6134, allocations: 111.4 kB / 0.5587 GB, free: 4.051 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.6134, allocations: 4 kB / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6135, allocations: 4.281 kB / 0.5587 GB, free: 4.043 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6135, allocations: 3.984 kB / 0.5587 GB, free: 4.039 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.6141, allocations: 391.8 kB / 0.5591 GB, free: 3.609 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6141, allocations: 3.938 kB / 0.5591 GB, free: 3.605 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.6142, allocations: 8 kB / 0.5591 GB, free: 3.598 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.6142, allocations: 4 kB / 0.5591 GB, free: 3.594 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.6143, allocations: 0 / 0.5591 GB, free: 3.594 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.6143, allocations: 0 / 0.5591 GB, free: 3.594 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.6143, allocations: 8.031 kB / 0.5591 GB, free: 3.586 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.6146, allocations: 213.8 kB / 0.5593 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.6147, allocations: 100.9 kB / 0.5594 GB, free: 3.234 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.6148, allocations: 0 / 0.5594 GB, free: 3.234 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.6149, allocations: 7.938 kB / 0.5594 GB, free: 3.227 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.615, allocations: 15.94 kB / 0.5594 GB, free: 3.211 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.615, allocations: 8 kB / 0.5594 GB, free: 3.203 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.6152, allocations: 159.2 kB / 0.5596 GB, free: 3.047 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6152, allocations: 0 / 0.5596 GB, free: 3.047 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003996/0.6156, allocations: 31.94 kB / 0.5596 GB, free: 3.016 MB / 395.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) * 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.001168/0.6168, allocations: 393.8 kB / 0.56 GB, free: 2.68 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.6171, allocations: 59.91 kB / 0.5601 GB, free: 2.621 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6171, allocations: 0 / 0.5601 GB, free: 2.621 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.6172, allocations: 24 kB / 0.5601 GB, free: 2.598 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.6176, allocations: 36.09 kB / 0.5601 GB, free: 2.559 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.6182, allocations: 211.8 kB / 0.5603 GB, free: 2.32 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.6186, allocations: 0.7157 MB / 0.561 GB, free: 1.578 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.6187, allocations: 23.36 kB / 0.561 GB, free: 1.555 MB / 395.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6187, allocations: 0 / 0.561 GB, free: 1.555 MB / 395.1 MB Notification: Performance of Templates: time 0.005807/0.6245, allocations: 2.03 MB / 0.563 GB, free: 15.53 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches