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.001578/0.001578, allocations: 182.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009287/0.0009287, allocations: 94.84 kB / 270.2 MB, free: 13.36 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.245/0.245, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.569, allocations: 87.5 MB / 0.5643 GB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.5694, allocations: 64.78 kB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.5836, allocations: 4.787 MB / 0.569 GB, free: 8.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.5837, allocations: 0 / 0.569 GB, free: 8.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.61e-05/0.5837, allocations: 8 kB / 0.569 GB, free: 8.102 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.001017/0.5847, allocations: 0.544 MB / 0.5696 GB, free: 7.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.5848, allocations: 12.03 kB / 0.5696 GB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.5849, allocations: 64.91 kB / 0.5696 GB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.585, allocations: 35.58 kB / 0.5697 GB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.5854, allocations: 255.3 kB / 0.5699 GB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.5854, allocations: 15.75 kB / 0.5699 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.5855, allocations: 35.88 kB / 0.57 GB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/0.586, allocations: 279.7 kB / 0.5702 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.5861, allocations: 11.44 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.5861, allocations: 10.55 kB / 0.5703 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.5861, allocations: 8 kB / 0.5703 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.5866, allocations: 195.9 kB / 0.5705 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.5883, allocations: 1.315 MB / 0.5717 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.5888, allocations: 255.2 kB / 0.572 GB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.5888, allocations: 4 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.329e-05/0.5889, allocations: 45.42 kB / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.794e-06/0.5889, allocations: 0 / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002669/0.5916, allocations: 1.619 MB / 0.5736 GB, free: 3.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.5917, allocations: 132.5 kB / 0.5737 GB, free: 3.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5919, allocations: 199.3 kB / 0.5739 GB, free: 3.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.5919, allocations: 37.39 kB / 0.574 GB, free: 3.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.592, allocations: 174.5 kB / 0.5741 GB, free: 2.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.448e-05/0.5921, allocations: 132.8 kB / 0.5743 GB, free: 2.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.5921, allocations: 3.875 kB / 0.5743 GB, free: 2.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5923, allocations: 342.6 kB / 0.5746 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.5925, allocations: 108 kB / 0.5747 GB, free: 2.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.5929, allocations: 248 kB / 0.5749 GB, free: 2.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.5932, allocations: 145.9 kB / 0.5751 GB, free: 2.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5932, allocations: 7.938 kB / 0.5751 GB, free: 2.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007106/0.5939, allocations: 412 kB / 0.5755 GB, free: 1.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.5939, allocations: 4 kB / 0.5755 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5939, allocations: 7.938 kB / 0.5755 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.594, allocations: 8 kB / 0.5755 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.5944, allocations: 112.1 kB / 0.5756 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.5944, allocations: 7.938 kB / 0.5756 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.5946, allocations: 31.58 kB / 0.5756 GB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.5947, allocations: 23.92 kB / 0.5757 GB, free: 1.535 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 () * Number of clocked 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.0001642/0.5948, allocations: 156.4 kB / 0.5758 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.595, allocations: 27.72 kB / 0.5758 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.595, allocations: 36.83 kB / 0.5759 GB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.595, allocations: 4 kB / 0.5759 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.5951, allocations: 4 kB / 0.5759 GB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.5951, allocations: 0 / 0.5759 GB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.5965, allocations: 1.011 MB / 0.5769 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5966, allocations: 7.984 kB / 0.5769 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.597, allocations: 87.89 kB / 0.5769 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.597, allocations: 4 kB / 0.577 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.597, allocations: 11.89 kB / 0.577 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.597, allocations: 3.984 kB / 0.577 GB, free: 296 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.597, allocations: 4 kB / 0.577 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.5981, allocations: 0.8233 MB / 0.5778 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.5981, allocations: 96.83 kB / 0.5779 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.5982, allocations: 8.062 kB / 0.5779 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.5985, allocations: 31.67 kB / 0.5779 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.5986, allocations: 35.83 kB / 0.5779 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.5986, allocations: 7.875 kB / 0.5779 GB, free: 15.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.5987, allocations: 155.6 kB / 0.5781 GB, free: 15.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5987, allocations: 0 / 0.5781 GB, free: 15.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.5992, allocations: 71.56 kB / 0.5782 GB, free: 15.14 MB / 394.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 () * Number of clocked 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.001369/0.6005, allocations: 1.7 MB / 0.5798 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006007/0.6012, allocations: 302.4 kB / 0.5801 GB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6012, allocations: 0 / 0.5801 GB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.6014, allocations: 151 kB / 0.5803 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.6019, allocations: 39.12 kB / 0.5803 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.6062, allocations: 5.028 MB / 0.5852 GB, free: 8.156 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.6067, allocations: 0.7761 MB / 0.586 GB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.6069, allocations: 30.97 kB / 0.586 GB, free: 7.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.607, allocations: 93.02 kB / 0.5861 GB, free: 7.285 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.607, allocations: 0 / 0.5861 GB, free: 7.285 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.625, allocations: 4.734 MB / 0.5907 GB, free: 2.586 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.6253, allocations: 172.9 kB / 0.5909 GB, free: 2.336 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.601, allocations: 7.984 kB / 0.5909 GB, free: 2.328 MB / 394.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