Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestSpeed",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.001636/0.001636, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.144/2.144, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001197/0.001196, allocations: 94.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4136/0.4136, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.203e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1538, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5002/0.654, allocations: 87.41 MB / 0.5582 GB, free: 112 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.6543, allocations: 67.75 kB / 0.5583 GB, free: 80 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02181/0.6762, allocations: 4.791 MB / 0.563 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6762, allocations: 0 / 0.563 GB, free: 12.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.6763, allocations: 4 kB / 0.563 GB, free: 12.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001132/0.6774, allocations: 0.5162 MB / 0.5635 GB, free: 11.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.6775, allocations: 8.031 kB / 0.5635 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.051e-05/0.6776, allocations: 65.09 kB / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.6777, allocations: 35.58 kB / 0.5636 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.6781, allocations: 264.3 kB / 0.5639 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.6781, allocations: 23.5 kB / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.6782, allocations: 22.81 kB / 0.5639 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.6788, allocations: 253.4 kB / 0.5641 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.6788, allocations: 7.906 kB / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.6789, allocations: 11.38 kB / 0.5642 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.6789, allocations: 8 kB / 0.5642 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.6793, allocations: 139.4 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.6818, allocations: 1.321 MB / 0.5656 GB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.6824, allocations: 222.5 kB / 0.5658 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.6826, allocations: 83.12 kB / 0.5659 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.6827, allocations: 4 kB / 0.5659 GB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.6827, allocations: 33.38 kB / 0.5659 GB, free: 9.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.767e-06/0.6827, allocations: 4 kB / 0.5659 GB, free: 9.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003016/0.6858, allocations: 1.4 MB / 0.5673 GB, free: 7.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.6859, allocations: 140.5 kB / 0.5674 GB, free: 7.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.6862, allocations: 188.3 kB / 0.5676 GB, free: 7.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.6863, allocations: 32.39 kB / 0.5676 GB, free: 7.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.6864, allocations: 231.3 kB / 0.5679 GB, free: 7.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.6866, allocations: 121.8 kB / 0.568 GB, free: 6.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.6866, allocations: 6.188 kB / 0.568 GB, free: 6.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6868, allocations: 331.4 kB / 0.5683 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.687, allocations: 68.88 kB / 0.5684 GB, free: 6.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.6873, allocations: 210 kB / 0.5686 GB, free: 6.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.6877, allocations: 109.4 kB / 0.5687 GB, free: 6.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6877, allocations: 0 / 0.5687 GB, free: 6.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008173/0.6885, allocations: 323 kB / 0.569 GB, free: 6.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.6886, allocations: 8 kB / 0.569 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6886, allocations: 4 kB / 0.569 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.6886, allocations: 8 kB / 0.569 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.6894, allocations: 107.4 kB / 0.5691 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.6894, allocations: 8 kB / 0.5691 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.6898, allocations: 39.59 kB / 0.5691 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.6899, allocations: 15.56 kB / 0.5691 GB, free: 5.863 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001475/0.69, allocations: 138.3 kB / 0.5693 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.6902, allocations: 27.41 kB / 0.5693 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.974e-05/0.6903, allocations: 35.95 kB / 0.5693 GB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6903, allocations: 4 kB / 0.5693 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6903, allocations: 288 / 0.5693 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.6904, allocations: 8 kB / 0.5694 GB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.6922, allocations: 0.938 MB / 0.5703 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6922, allocations: 0 / 0.5703 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.693, allocations: 87.44 kB / 0.5704 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.693, allocations: 7.953 kB / 0.5704 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.6931, allocations: 6.812 kB / 0.5704 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.6931, allocations: 11.94 kB / 0.5704 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6931, allocations: 0 / 0.5704 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.6942, allocations: 0.7097 MB / 0.5711 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.6943, allocations: 96.83 kB / 0.5712 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.6944, allocations: 7.25 kB / 0.5712 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.6948, allocations: 35.98 kB / 0.5712 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.695, allocations: 25.58 kB / 0.5712 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.695, allocations: 11.5 kB / 0.5712 GB, free: 3.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002028/0.6952, allocations: 151.9 kB / 0.5714 GB, free: 3.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6952, allocations: 0 / 0.5714 GB, free: 3.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006578/0.6959, allocations: 66.06 kB / 0.5714 GB, free: 3.664 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.001539/0.6974, allocations: 1.594 MB / 0.573 GB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.6981, allocations: 221.8 kB / 0.5732 GB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.6981, allocations: 384 / 0.5732 GB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.6984, allocations: 109.4 kB / 0.5733 GB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.699, allocations: 34.94 kB / 0.5734 GB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.7013, allocations: 0.8202 MB / 0.5742 GB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.7018, allocations: 0.78 MB / 0.5749 GB, free: 220 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.7021, allocations: 95.27 kB / 0.575 GB, free: 180 kB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7021, allocations: 0 / 0.575 GB, free: 180 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.456/3.159, allocations: 4.445 MB / 0.5793 GB, free: 11.79 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat