Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_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.0011/0.0011, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.774/1.774, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009207/0.0009212, allocations: 92.03 kB / 261.7 MB, free: 1.684 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.2364/0.2364, allocations: 43.48 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.666e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 58.86 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5738, allocations: 86.75 MB / 0.5507 GB, free: 7.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5741, allocations: 69.81 kB / 0.5508 GB, free: 7.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01188/0.5859, allocations: 4.75 MB / 0.5554 GB, free: 4.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.586, allocations: 0 / 0.5554 GB, free: 4.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.586, allocations: 4 kB / 0.5554 GB, free: 4.051 MB / 362.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.0005958/0.5866, allocations: 0.5154 MB / 0.5559 GB, free: 3.508 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5867, allocations: 8.031 kB / 0.556 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.5867, allocations: 31.62 kB / 0.556 GB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.587, allocations: 265.5 kB / 0.5562 GB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.5871, allocations: 8 kB / 0.5562 GB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.5871, allocations: 15.98 kB / 0.5563 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002193/0.5873, allocations: 129.2 kB / 0.5564 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.5876, allocations: 221.7 kB / 0.5566 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.5876, allocations: 7.906 kB / 0.5566 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.5877, allocations: 0 / 0.5566 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.5877, allocations: 11.98 kB / 0.5566 GB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.5889, allocations: 1.255 MB / 0.5578 GB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.5891, allocations: 203.6 kB / 0.558 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.5892, allocations: 69.59 kB / 0.5581 GB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.5893, allocations: 11.95 kB / 0.5581 GB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.5893, allocations: 41.98 kB / 0.5582 GB, free: 1.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.313e-06/0.5893, allocations: 4 kB / 0.5582 GB, free: 1.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001468/0.5908, allocations: 1.331 MB / 0.5595 GB, free: 15.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.5909, allocations: 139.7 kB / 0.5596 GB, free: 15.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.591, allocations: 186 kB / 0.5598 GB, free: 15.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.5911, allocations: 25.7 kB / 0.5598 GB, free: 15.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5912, allocations: 181.6 kB / 0.56 GB, free: 15.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.5913, allocations: 114.9 kB / 0.5601 GB, free: 15.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.5913, allocations: 0 / 0.5601 GB, free: 15.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5914, allocations: 337.3 kB / 0.5604 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.5915, allocations: 61.62 kB / 0.5605 GB, free: 14.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.5917, allocations: 196.3 kB / 0.5606 GB, free: 14.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.5919, allocations: 103.7 kB / 0.5607 GB, free: 14.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5919, allocations: 4 kB / 0.5607 GB, free: 14.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004251/0.5923, allocations: 286.9 kB / 0.561 GB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5923, allocations: 8 kB / 0.561 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5924, allocations: 4 kB / 0.561 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.5924, allocations: 8 kB / 0.561 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.5928, allocations: 111.5 kB / 0.5611 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.5928, allocations: 11.98 kB / 0.5612 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.593, allocations: 24.02 kB / 0.5612 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.5931, allocations: 23.69 kB / 0.5612 GB, free: 14.21 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.0001014/0.5932, allocations: 116.6 kB / 0.5613 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003508/0.5935, allocations: 214.5 kB / 0.5615 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/0.5936, allocations: 27.62 kB / 0.5615 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.5937, allocations: 34.64 kB / 0.5616 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5937, allocations: 4 kB / 0.5616 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5937, allocations: 0 / 0.5616 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5937, allocations: 4.234 kB / 0.5616 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5947, allocations: 0.8621 MB / 0.5624 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.5948, allocations: 0 / 0.5624 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.5952, allocations: 83.95 kB / 0.5625 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.5952, allocations: 7.953 kB / 0.5625 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.5952, allocations: 11.23 kB / 0.5625 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5952, allocations: 0 / 0.5625 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5952, allocations: 7.938 kB / 0.5625 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.5958, allocations: 0.6786 MB / 0.5632 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.5959, allocations: 100.8 kB / 0.5633 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.596, allocations: 4 kB / 0.5633 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.5962, allocations: 19.94 kB / 0.5633 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.5963, allocations: 31.14 kB / 0.5633 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.5963, allocations: 11.66 kB / 0.5634 GB, free: 12.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.5965, allocations: 148.6 kB / 0.5635 GB, free: 12.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5965, allocations: 0 / 0.5635 GB, free: 12.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.5969, allocations: 59.94 kB / 0.5635 GB, free: 11.95 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.0009815/0.5979, allocations: 1.569 MB / 0.5651 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.5982, allocations: 201.2 kB / 0.5653 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5982, allocations: 4 kB / 0.5653 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.5984, allocations: 90.25 kB / 0.5654 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.5988, allocations: 40.28 kB / 0.5654 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.6002, allocations: 0.7642 MB / 0.5661 GB, free: 9.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.6005, allocations: 0.7762 MB / 0.5669 GB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.6007, allocations: 31.27 kB / 0.5669 GB, free: 8.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.6008, allocations: 88.72 kB / 0.567 GB, free: 8.527 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6008, allocations: 4 kB / 0.567 GB, free: 8.523 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.6254, allocations: 4.352 MB / 0.5713 GB, free: 4.188 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.6256, allocations: 126.9 kB / 0.5714 GB, free: 3.992 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.405, allocations: 0 / 0.5714 GB, free: 3.992 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat