Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002258/0.002258, allocations: 187.1 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.001147/0.001147, allocations: 98.2 kB / 270.9 MB, free: 8.363 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.5772/0.5772, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.000464, allocations: 24 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5834, allocations: 87.54 MB / 0.5642 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5838, allocations: 75.95 kB / 0.5643 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03836/0.6221, allocations: 5.534 MB / 0.5697 GB, free: 9.602 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.6222, allocations: 7.938 kB / 0.5697 GB, free: 9.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.6223, allocations: 0 / 0.5697 GB, free: 9.594 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.000986/0.6233, allocations: 446.7 kB / 0.5701 GB, free: 9.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.6233, allocations: 12.03 kB / 0.5701 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.495e-05/0.6235, allocations: 11.81 kB / 0.5702 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.6241, allocations: 232.3 kB / 0.5704 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.6242, allocations: 0 / 0.5704 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.6242, allocations: 4 kB / 0.5704 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.6245, allocations: 49.67 kB / 0.5704 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6245, allocations: 3.984 kB / 0.5704 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.6246, allocations: 0 / 0.5704 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.6246, allocations: 0 / 0.5704 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.6248, allocations: 24.95 kB / 0.5705 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.6252, allocations: 193.6 kB / 0.5706 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.6256, allocations: 58.61 kB / 0.5707 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.6257, allocations: 4 kB / 0.5707 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.626, allocations: 63.48 kB / 0.5708 GB, free: 8.359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 3.877e-06/0.626, allocations: 3.938 kB / 0.5708 GB, free: 8.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006495/0.6267, allocations: 97.48 kB / 0.5709 GB, free: 8.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.6267, allocations: 55.39 kB / 0.5709 GB, free: 8.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.6274, allocations: 237.7 kB / 0.5711 GB, free: 7.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.6275, allocations: 25.7 kB / 0.5712 GB, free: 7.914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.6276, allocations: 170.6 kB / 0.5713 GB, free: 7.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.6277, allocations: 15.83 kB / 0.5713 GB, free: 7.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-06/0.6277, allocations: 0 / 0.5713 GB, free: 7.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.6279, allocations: 314.8 kB / 0.5716 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.6281, allocations: 15.98 kB / 0.5717 GB, free: 7.398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.6283, allocations: 25.72 kB / 0.5717 GB, free: 7.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.6284, allocations: 23.92 kB / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.6285, allocations: 7.953 kB / 0.5717 GB, free: 7.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004054/0.6289, allocations: 73.84 kB / 0.5718 GB, free: 7.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.6289, allocations: 10.97 kB / 0.5718 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.629, allocations: 64 / 0.5718 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.629, allocations: 7.984 kB / 0.5718 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.6292, allocations: 11.94 kB / 0.5718 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.6292, allocations: 0 / 0.5718 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.6295, allocations: 8.031 kB / 0.5718 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.6295, allocations: 4 kB / 0.5718 GB, free: 7.219 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.0002431/0.6298, allocations: 137.8 kB / 0.572 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.6299, allocations: 15.77 kB / 0.572 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.6304, allocations: 94.66 kB / 0.5721 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.6304, allocations: 4 kB / 0.5721 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.6304, allocations: 7.875 kB / 0.5721 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6305, allocations: 0 / 0.5721 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.6309, allocations: 213.5 kB / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6309, allocations: 4 kB / 0.5723 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.701e-05/0.631, allocations: 7.953 kB / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.631, allocations: 0 / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.631, allocations: 4 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.631, allocations: 0 / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6311, allocations: 4 kB / 0.5723 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.6316, allocations: 112.9 kB / 0.5724 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.6317, allocations: 100.9 kB / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.6318, allocations: 11.95 kB / 0.5725 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.632, allocations: 4 kB / 0.5725 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.632, allocations: 3.984 kB / 0.5725 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.6321, allocations: 4 kB / 0.5725 GB, free: 6.406 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004973/0.6326, allocations: 204.1 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.57e-06/0.6326, allocations: 0 / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005011/0.6332, allocations: 23.94 kB / 0.5727 GB, free: 6.184 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.001903/0.6351, allocations: 421.6 kB / 0.5731 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.6355, allocations: 35.98 kB / 0.5732 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.6356, allocations: 4 kB / 0.5732 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.6357, allocations: 27.92 kB / 0.5732 GB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.6363, allocations: 25.39 kB / 0.5732 GB, free: 5.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.6374, allocations: 318.1 kB / 0.5735 GB, free: 5.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.638, allocations: 0.716 MB / 0.5742 GB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.6381, allocations: 19.44 kB / 0.5743 GB, free: 4.672 MB / 394.7 MB Notification: Performance of SimCode: time 1.884e-06/0.6381, allocations: 4 kB / 0.5743 GB, free: 4.668 MB / 394.7 MB Notification: Performance of Templates: time 0.008794/0.6469, allocations: 1.923 MB / 0.5761 GB, free: 2.75 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches