Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",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.00198/0.00198, allocations: 177.8 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 2.178/2.178, 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.001121/0.001121, allocations: 86.39 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.2991/0.2991, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.585e-05, allocations: 11.98 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4158, allocations: 58.85 MB / 477.2 MB, free: 5.188 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.5886, allocations: 86.93 MB / 0.5509 GB, free: 12.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.589, allocations: 83.44 kB / 0.551 GB, free: 12.22 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02404/0.613, allocations: 5.214 MB / 0.5561 GB, free: 7.008 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.6131, allocations: 0 / 0.5561 GB, free: 7.008 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.6131, allocations: 11.94 kB / 0.5561 GB, free: 6.996 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.0006091/0.6138, allocations: 398.8 kB / 0.5565 GB, free: 6.562 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.6138, allocations: 12.03 kB / 0.5565 GB, free: 6.551 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.6139, allocations: 7.906 kB / 0.5565 GB, free: 6.543 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.6143, allocations: 221.5 kB / 0.5567 GB, free: 6.289 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.6144, allocations: 0 / 0.5567 GB, free: 6.289 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.6144, allocations: 4 kB / 0.5567 GB, free: 6.285 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.207e-05/0.6145, allocations: 12 kB / 0.5567 GB, free: 6.273 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.6146, allocations: 57.67 kB / 0.5568 GB, free: 6.211 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.6147, allocations: 0 / 0.5568 GB, free: 6.211 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.6147, allocations: 7.984 kB / 0.5568 GB, free: 6.203 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.6147, allocations: 0 / 0.5568 GB, free: 6.203 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.6152, allocations: 269.5 kB / 0.557 GB, free: 5.902 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.6154, allocations: 50.62 kB / 0.5571 GB, free: 5.844 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.6154, allocations: 20.98 kB / 0.5571 GB, free: 5.82 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.6155, allocations: 0 / 0.5571 GB, free: 5.82 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.6156, allocations: 63.39 kB / 0.5571 GB, free: 5.746 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.6157, allocations: 0 / 0.5571 GB, free: 5.746 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.6163, allocations: 157.1 kB / 0.5573 GB, free: 5.586 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6163, allocations: 55.34 kB / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.6166, allocations: 166.9 kB / 0.5575 GB, free: 5.352 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.6166, allocations: 33.7 kB / 0.5575 GB, free: 5.312 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.6167, allocations: 158.6 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.6168, allocations: 23.7 kB / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.6168, allocations: 0 / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.617, allocations: 314.8 kB / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.617, allocations: 19.94 kB / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.6171, allocations: 29.72 kB / 0.5581 GB, free: 4.762 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.72e-05/0.6172, allocations: 31.92 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6172, allocations: 0 / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002243/0.6175, allocations: 85.58 kB / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6175, allocations: 7.984 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6175, allocations: 0 / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6175, allocations: 4 kB / 0.5582 GB, free: 4.629 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.6177, allocations: 12 kB / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6177, allocations: 8.078 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.6178, allocations: 7.984 kB / 0.5582 GB, free: 4.602 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.6179, allocations: 7.984 kB / 0.5582 GB, free: 4.594 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.736e-05/0.618, allocations: 109 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002155/0.6182, allocations: 85.59 kB / 0.5584 GB, free: 4.391 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.6182, allocations: 15.89 kB / 0.5584 GB, free: 4.375 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.6186, allocations: 114.1 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6186, allocations: 0 / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6186, allocations: 3.953 kB / 0.5585 GB, free: 4.254 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6186, allocations: 3.984 kB / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.6193, allocations: 375.9 kB / 0.5589 GB, free: 3.836 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6193, allocations: 0 / 0.5589 GB, free: 3.836 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.6194, allocations: 8 kB / 0.5589 GB, free: 3.828 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.6194, allocations: 3.984 kB / 0.5589 GB, free: 3.824 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.6194, allocations: 4 kB / 0.5589 GB, free: 3.82 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.6194, allocations: 3.953 kB / 0.5589 GB, free: 3.816 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6194, allocations: 0 / 0.5589 GB, free: 3.816 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.6197, allocations: 210.3 kB / 0.5591 GB, free: 3.586 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.6198, allocations: 96.92 kB / 0.5592 GB, free: 3.473 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.6199, allocations: 8.031 kB / 0.5592 GB, free: 3.465 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.62, allocations: 11.88 kB / 0.5592 GB, free: 3.453 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.6201, allocations: 11.92 kB / 0.5592 GB, free: 3.441 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.6201, allocations: 4 kB / 0.5592 GB, free: 3.438 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.6203, allocations: 135.4 kB / 0.5594 GB, free: 3.305 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6203, allocations: 4 kB / 0.5594 GB, free: 3.301 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.6207, allocations: 31.98 kB / 0.5594 GB, free: 3.27 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.001716/0.6225, allocations: 1.093 MB / 0.5605 GB, free: 2.195 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.6227, allocations: 55.86 kB / 0.5605 GB, free: 2.141 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6227, allocations: 8.062 kB / 0.5605 GB, free: 2.133 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.6228, allocations: 27.98 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.6233, allocations: 24.16 kB / 0.5606 GB, free: 2.082 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.6241, allocations: 260.5 kB / 0.5608 GB, free: 1.773 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.6244, allocations: 0.708 MB / 0.5615 GB, free: 1.039 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.6246, allocations: 39.48 kB / 0.5616 GB, free: 1 MB / 395.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6246, allocations: 0 / 0.5616 GB, free: 1 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.635/3.259, allocations: 2.452 MB / 0.564 GB, free: 14.55 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat