Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 179.4 kB / 8.363 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 1.947/1.947, 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.001097/0.001097, allocations: 90.08 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.2889/0.2889, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.633e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.434, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.5969, allocations: 86.96 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5973, allocations: 71.97 kB / 0.5509 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02534/0.6226, allocations: 5.545 MB / 0.5563 GB, free: 6.738 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6227, allocations: 0 / 0.5563 GB, free: 6.738 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.6227, allocations: 4 kB / 0.5563 GB, free: 6.734 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.0006198/0.6233, allocations: 394.2 kB / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6234, allocations: 12.03 kB / 0.5567 GB, free: 6.293 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.6235, allocations: 11.81 kB / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.6239, allocations: 226.8 kB / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.624, allocations: 4 kB / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.624, allocations: 7.984 kB / 0.5569 GB, free: 6.008 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.934e-05/0.6241, allocations: 15.94 kB / 0.557 GB, free: 5.992 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.6243, allocations: 49.67 kB / 0.557 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.6243, allocations: 3.906 kB / 0.557 GB, free: 5.934 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6243, allocations: 4 kB / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.6243, allocations: 3.938 kB / 0.557 GB, free: 5.926 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.6249, allocations: 277.5 kB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.625, allocations: 50.62 kB / 0.5573 GB, free: 5.559 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.088e-05/0.6251, allocations: 24.91 kB / 0.5574 GB, free: 5.531 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.6251, allocations: 0 / 0.5574 GB, free: 5.531 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.6253, allocations: 59.41 kB / 0.5574 GB, free: 5.461 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.275e-06/0.6253, allocations: 4 kB / 0.5574 GB, free: 5.457 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006356/0.626, allocations: 153.1 kB / 0.5576 GB, free: 5.301 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.6261, allocations: 55.41 kB / 0.5576 GB, free: 5.234 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.6264, allocations: 197.8 kB / 0.5578 GB, free: 5.027 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.6264, allocations: 29.7 kB / 0.5578 GB, free: 4.992 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.6266, allocations: 166.6 kB / 0.558 GB, free: 4.828 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.6267, allocations: 27.64 kB / 0.558 GB, free: 4.801 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.6267, allocations: 0 / 0.558 GB, free: 4.801 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6268, allocations: 314.8 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.6269, allocations: 20 kB / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.627, allocations: 33.7 kB / 0.5584 GB, free: 4.426 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.865e-05/0.6271, allocations: 19.98 kB / 0.5584 GB, free: 4.406 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6271, allocations: 0 / 0.5584 GB, free: 4.406 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002348/0.6273, allocations: 85.61 kB / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6274, allocations: 4 kB / 0.5585 GB, free: 4.312 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6274, allocations: 4 kB / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.6274, allocations: 4.031 kB / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.6276, allocations: 12 kB / 0.5585 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6276, allocations: 0 / 0.5585 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.91e-05/0.6277, allocations: 7.984 kB / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.6278, allocations: 7.953 kB / 0.5585 GB, free: 4.277 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 0.0001034/0.6279, allocations: 104.9 kB / 0.5586 GB, free: 4.168 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.6279, allocations: 19.81 kB / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.6283, allocations: 107.4 kB / 0.5587 GB, free: 4.039 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.6283, allocations: 8 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6283, allocations: 480 / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6283, allocations: 0 / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.629, allocations: 391.8 kB / 0.5591 GB, free: 3.602 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.629, allocations: 3.938 kB / 0.5591 GB, free: 3.598 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.164e-05/0.6291, allocations: 11.98 kB / 0.5591 GB, free: 3.586 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.6291, allocations: 7.984 kB / 0.5591 GB, free: 3.578 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.6292, allocations: 0 / 0.5591 GB, free: 3.578 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6292, allocations: 4.031 kB / 0.5591 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.6292, allocations: 7.938 kB / 0.5591 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.6295, allocations: 217.8 kB / 0.5594 GB, free: 3.328 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6296, allocations: 96.91 kB / 0.5594 GB, free: 3.215 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.6297, allocations: 0 / 0.5594 GB, free: 3.215 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.6298, allocations: 8 kB / 0.5595 GB, free: 3.207 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.6299, allocations: 15.94 kB / 0.5595 GB, free: 3.191 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.6299, allocations: 4 kB / 0.5595 GB, free: 3.188 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.6302, allocations: 151.2 kB / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6302, allocations: 0 / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004132/0.6306, allocations: 39.92 kB / 0.5597 GB, free: 3 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.001188/0.6318, allocations: 396 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.632, allocations: 48 kB / 0.5601 GB, free: 2.602 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.632, allocations: 0 / 0.5601 GB, free: 2.602 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.6321, allocations: 39.98 kB / 0.5601 GB, free: 2.562 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.6326, allocations: 27.97 kB / 0.5601 GB, free: 2.531 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.6332, allocations: 212.2 kB / 0.5603 GB, free: 2.293 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.6336, allocations: 0.7157 MB / 0.561 GB, free: 1.551 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.6337, allocations: 23.42 kB / 0.5611 GB, free: 1.527 MB / 395.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6337, allocations: 4.062 kB / 0.5611 GB, free: 1.523 MB / 395.1 MB Notification: Performance of Templates: time 0.006064/0.6397, allocations: 2.023 MB / 0.563 GB, free: 15.5 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches