Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008958/0.0008956, allocations: 86.77 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.544e-05, allocations: 4.219 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.134, allocations: 61.91 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.6168, allocations: 88.69 MB / 0.5884 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.6172, allocations: 59.97 kB / 0.5885 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01481/0.632, allocations: 4.947 MB / 0.5933 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.632, allocations: 0 / 0.5933 GB, free: 11.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.6321, allocations: 15.98 kB / 0.5933 GB, free: 11.55 MB / 410.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.0008144/0.6329, allocations: 0.5139 MB / 0.5938 GB, free: 10.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.633, allocations: 16.03 kB / 0.5938 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.349e-05/0.6331, allocations: 58.48 kB / 0.5939 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.6331, allocations: 31.62 kB / 0.5939 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.6335, allocations: 250.5 kB / 0.5941 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.6335, allocations: 24.52 kB / 0.5942 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.6336, allocations: 27.98 kB / 0.5942 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.6342, allocations: 254.1 kB / 0.5944 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.6342, allocations: 7.844 kB / 0.5944 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.6343, allocations: 12 kB / 0.5945 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.6343, allocations: 8 kB / 0.5945 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.6347, allocations: 140.8 kB / 0.5946 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.6366, allocations: 1.306 MB / 0.5959 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.637, allocations: 226.3 kB / 0.5961 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.6371, allocations: 83.42 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.6372, allocations: 192 / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6372, allocations: 46.5 kB / 0.5962 GB, free: 8.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.182e-06/0.6372, allocations: 0 / 0.5962 GB, free: 8.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.002225/0.6394, allocations: 1.397 MB / 0.5976 GB, free: 6.684 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.6395, allocations: 140.5 kB / 0.5977 GB, free: 6.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.6398, allocations: 193 kB / 0.5979 GB, free: 6.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.6398, allocations: 29.89 kB / 0.5979 GB, free: 6.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.64, allocations: 176.3 kB / 0.5981 GB, free: 6.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.6401, allocations: 122.2 kB / 0.5982 GB, free: 5.988 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.6401, allocations: 4 kB / 0.5982 GB, free: 5.984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6402, allocations: 342.8 kB / 0.5985 GB, free: 5.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.6404, allocations: 68.88 kB / 0.5986 GB, free: 5.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.6407, allocations: 213.8 kB / 0.5988 GB, free: 5.301 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.6408, allocations: 103.9 kB / 0.5989 GB, free: 5.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6409, allocations: 0 / 0.5989 GB, free: 5.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005701/0.6414, allocations: 340.9 kB / 0.5992 GB, free: 4.859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.6415, allocations: 10.34 kB / 0.5992 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6415, allocations: 4 kB / 0.5992 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.6415, allocations: 8 kB / 0.5993 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.642, allocations: 108.3 kB / 0.5994 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.642, allocations: 11.94 kB / 0.5994 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.6422, allocations: 23.98 kB / 0.5994 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.6423, allocations: 23.98 kB / 0.5994 GB, free: 4.676 MB / 410.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.0001041/0.6424, allocations: 128.8 kB / 0.5995 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.6425, allocations: 35.7 kB / 0.5996 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.975e-05/0.6426, allocations: 37.83 kB / 0.5996 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.6426, allocations: 11.94 kB / 0.5996 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.6426, allocations: 4 kB / 0.5996 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.6427, allocations: 0 / 0.5996 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.6442, allocations: 0.931 MB / 0.6005 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6443, allocations: 4 kB / 0.6005 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.6447, allocations: 87.95 kB / 0.6006 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.6447, allocations: 4 kB / 0.6006 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.6448, allocations: 7.984 kB / 0.6006 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.6448, allocations: 7.938 kB / 0.6006 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6448, allocations: 4 kB / 0.6006 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.6455, allocations: 0.7061 MB / 0.6013 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.6456, allocations: 96.83 kB / 0.6014 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.6457, allocations: 8.062 kB / 0.6014 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.646, allocations: 27.98 kB / 0.6015 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.6461, allocations: 27.91 kB / 0.6015 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.6461, allocations: 8 kB / 0.6015 GB, free: 2.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.6463, allocations: 153.4 kB / 0.6016 GB, free: 2.246 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6463, allocations: 0 / 0.6016 GB, free: 2.246 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007796/0.6471, allocations: 76 kB / 0.6017 GB, free: 2.172 MB / 410.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.001303/0.6484, allocations: 1.594 MB / 0.6033 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.6488, allocations: 220.5 kB / 0.6035 GB, free: 320 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6488, allocations: 0 / 0.6035 GB, free: 320 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.649, allocations: 104.7 kB / 0.6036 GB, free: 216 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.6495, allocations: 32.42 kB / 0.6036 GB, free: 180 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.6511, allocations: 0.8027 MB / 0.6044 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.6514, allocations: 0.7761 MB / 0.6052 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.6516, allocations: 30.97 kB / 0.6052 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.6517, allocations: 95.39 kB / 0.6053 GB, free: 14.4 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6517, allocations: 4 kB / 0.6053 GB, free: 14.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.6692, allocations: 4.726 MB / 0.6099 GB, free: 9.785 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.6694, allocations: 140.4 kB / 0.61 GB, free: 9.562 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.732, allocations: 0 / 0.61 GB, free: 9.562 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat