Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002392/0.002397, allocations: 177.8 kB / 8.36 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.043/2.043, 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.001103/0.001103, allocations: 96.14 kB / 262.1 MB, free: 13.86 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.3314/0.3314, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.009e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4258, allocations: 58.86 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.596, allocations: 86.93 MB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.5964, allocations: 75.97 kB / 0.551 GB, free: 12.2 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02505/0.6215, allocations: 5.234 MB / 0.5561 GB, free: 6.969 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6215, allocations: 0 / 0.5561 GB, free: 6.969 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.6216, allocations: 3.938 kB / 0.5561 GB, free: 6.965 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.0006582/0.6222, allocations: 398.9 kB / 0.5565 GB, free: 6.531 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6223, allocations: 8.031 kB / 0.5565 GB, free: 6.523 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.6224, allocations: 11.91 kB / 0.5565 GB, free: 6.512 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.6228, allocations: 225.5 kB / 0.5567 GB, free: 6.254 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.6228, allocations: 0 / 0.5567 GB, free: 6.254 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.6229, allocations: 8 kB / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/0.623, allocations: 12 kB / 0.5567 GB, free: 6.234 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.6231, allocations: 53.67 kB / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6232, allocations: 0 / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.6232, allocations: 0 / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6232, allocations: 0 / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.6237, allocations: 269.5 kB / 0.557 GB, free: 5.875 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.6239, allocations: 54.62 kB / 0.5571 GB, free: 5.812 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.624, allocations: 20.92 kB / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.624, allocations: 0 / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.6242, allocations: 63.39 kB / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.6242, allocations: 0 / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.000615/0.6248, allocations: 149.2 kB / 0.5573 GB, free: 5.562 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.6249, allocations: 59.39 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.6252, allocations: 170.8 kB / 0.5575 GB, free: 5.32 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6252, allocations: 29.7 kB / 0.5576 GB, free: 5.285 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.6253, allocations: 158.6 kB / 0.5577 GB, free: 5.129 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.6254, allocations: 23.7 kB / 0.5577 GB, free: 5.105 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.6254, allocations: 0 / 0.5577 GB, free: 5.105 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6255, allocations: 310.8 kB / 0.558 GB, free: 4.793 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.6256, allocations: 20 kB / 0.558 GB, free: 4.773 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-05/0.6257, allocations: 33.72 kB / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.211e-05/0.6258, allocations: 27.92 kB / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6258, allocations: 0 / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002329/0.6261, allocations: 85.58 kB / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6261, allocations: 7.984 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6261, allocations: 0 / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6261, allocations: 0 / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.6263, allocations: 19.94 kB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6263, allocations: 0 / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/0.6264, allocations: 4.031 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.6265, allocations: 15.94 kB / 0.5582 GB, free: 4.57 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.0001053/0.6266, allocations: 109 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002201/0.6268, allocations: 85.59 kB / 0.5584 GB, free: 4.367 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.6269, allocations: 11.89 kB / 0.5584 GB, free: 4.355 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.6272, allocations: 118.3 kB / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.6273, allocations: 4 kB / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.6273, allocations: 4.141 kB / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6273, allocations: 7.984 kB / 0.5586 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.6279, allocations: 372.2 kB / 0.5589 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6279, allocations: 4 kB / 0.5589 GB, free: 3.805 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-05/0.628, allocations: 8 kB / 0.5589 GB, free: 3.797 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.6281, allocations: 7.922 kB / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.6281, allocations: 0 / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.6281, allocations: 7.953 kB / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6281, allocations: 3.938 kB / 0.5589 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.6284, allocations: 210 kB / 0.5591 GB, free: 3.547 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.6285, allocations: 88.92 kB / 0.5592 GB, free: 3.441 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.6286, allocations: 11.94 kB / 0.5592 GB, free: 3.43 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.6287, allocations: 0 / 0.5592 GB, free: 3.43 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.6288, allocations: 15.88 kB / 0.5592 GB, free: 3.414 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.6288, allocations: 11.98 kB / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.629, allocations: 139.4 kB / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.629, allocations: 0 / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.6294, allocations: 23.98 kB / 0.5594 GB, free: 3.242 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.001801/0.6312, allocations: 1.097 MB / 0.5605 GB, free: 2.164 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.6315, allocations: 55.92 kB / 0.5605 GB, free: 2.109 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6315, allocations: 0 / 0.5605 GB, free: 2.109 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.6316, allocations: 31.98 kB / 0.5606 GB, free: 2.078 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.6321, allocations: 27.83 kB / 0.5606 GB, free: 2.051 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.6329, allocations: 260.4 kB / 0.5608 GB, free: 1.742 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.6333, allocations: 0.7081 MB / 0.5615 GB, free: 1.008 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.6334, allocations: 35.42 kB / 0.5616 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6334, allocations: 0 / 0.5616 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.654/3.287, allocations: 2.452 MB / 0.564 GB, free: 14.53 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat