Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs",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.00105/0.00105, 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.482/1.482, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008898/0.0008898, allocations: 95.5 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.2121/0.2121, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.482e-05, allocations: 8.203 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1562, allocations: 61.91 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4677/0.624, allocations: 93.51 MB / 0.5931 GB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.6243, allocations: 67.97 kB / 0.5932 GB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03395/0.6583, allocations: 13.87 MB / 0.6067 GB, free: 13.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6583, allocations: 4 kB / 0.6067 GB, free: 13.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.129e-05/0.6584, allocations: 27.98 kB / 0.6068 GB, free: 13.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001364/0.6597, allocations: 0.9041 MB / 0.6076 GB, free: 12.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.6598, allocations: 16.03 kB / 0.6077 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.66, allocations: 143.7 kB / 0.6078 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.6601, allocations: 106.7 kB / 0.6079 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.6609, allocations: 0.5437 MB / 0.6084 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/0.661, allocations: 66 kB / 0.6085 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.6612, allocations: 95.91 kB / 0.6086 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.6626, allocations: 0.8514 MB / 0.6094 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/0.6627, allocations: 11.98 kB / 0.6094 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.6627, allocations: 40 kB / 0.6095 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.6628, allocations: 24 kB / 0.6095 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009079/0.6637, allocations: 491.7 kB / 0.61 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.6674, allocations: 3.647 MB / 0.6135 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.6679, allocations: 215.8 kB / 0.6137 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.6681, allocations: 96.8 kB / 0.6138 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.6684, allocations: 251.3 kB / 0.6141 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.6684, allocations: 34.56 kB / 0.6141 GB, free: 5.797 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.607e-06/0.6684, allocations: 0 / 0.6141 GB, free: 5.797 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.002409/0.6708, allocations: 1.201 MB / 0.6153 GB, free: 4.496 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.6709, allocations: 55.41 kB / 0.6153 GB, free: 4.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.6714, allocations: 343 kB / 0.6156 GB, free: 4.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.6714, allocations: 33.7 kB / 0.6157 GB, free: 4.051 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.6718, allocations: 466.1 kB / 0.6161 GB, free: 3.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.6719, allocations: 134.1 kB / 0.6162 GB, free: 3.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.6719, allocations: 12 kB / 0.6163 GB, free: 3.441 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.6721, allocations: 358.8 kB / 0.6166 GB, free: 3.082 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.6723, allocations: 113 kB / 0.6167 GB, free: 2.969 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.6727, allocations: 286.4 kB / 0.617 GB, free: 2.605 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.673, allocations: 163.4 kB / 0.6171 GB, free: 2.445 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.673, allocations: 0 / 0.6171 GB, free: 2.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007356/0.6737, allocations: 497 kB / 0.6176 GB, free: 1.949 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6737, allocations: 8 kB / 0.6176 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6738, allocations: 8.844 kB / 0.6176 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.674, allocations: 40.84 kB / 0.6177 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.6744, allocations: 135.7 kB / 0.6178 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004155/0.6748, allocations: 0.5524 MB / 0.6183 GB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.675, allocations: 16 kB / 0.6183 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.6751, allocations: 28 kB / 0.6184 GB, free: 1.137 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.6752, allocations: 140.8 kB / 0.6185 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.6753, allocations: 55.3 kB / 0.6186 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/0.6759, allocations: 322.2 kB / 0.6189 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.6759, allocations: 4 kB / 0.6189 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6759, allocations: 0 / 0.6189 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.6759, allocations: 3.984 kB / 0.6189 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.6775, allocations: 1.038 MB / 0.6199 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.6775, allocations: 4 kB / 0.6199 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.6778, allocations: 79.89 kB / 0.62 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.678, allocations: 33 kB / 0.62 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.678, allocations: 15.94 kB / 0.62 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003141/0.6783, allocations: 0.5522 MB / 0.6206 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6784, allocations: 7.969 kB / 0.6206 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/0.6792, allocations: 0.6032 MB / 0.6212 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.6793, allocations: 116.5 kB / 0.6213 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.6793, allocations: 8 kB / 0.6213 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.6795, allocations: 11.98 kB / 0.6213 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.6795, allocations: 23.97 kB / 0.6213 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.6796, allocations: 12 kB / 0.6213 GB, free: 13.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002775/0.6799, allocations: 257.2 kB / 0.6216 GB, free: 13.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6799, allocations: 4 kB / 0.6216 GB, free: 13.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005327/0.6804, allocations: 135.9 kB / 0.6217 GB, free: 13.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/0.6817, allocations: 1.506 MB / 0.6232 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.6823, allocations: 315.7 kB / 0.6235 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6823, allocations: 0 / 0.6235 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.6825, allocations: 129.5 kB / 0.6236 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.683, allocations: 71.45 kB / 0.6237 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.6858, allocations: 1.486 MB / 0.6251 GB, free: 9.918 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.6863, allocations: 0.9678 MB / 0.6261 GB, free: 8.926 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.6865, allocations: 64.53 kB / 0.6261 GB, free: 8.863 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.6869, allocations: 295.3 kB / 0.6264 GB, free: 8.574 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6869, allocations: 0 / 0.6264 GB, free: 8.574 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.7116, allocations: 9.327 MB / 0.6355 GB, free: 15.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.7118, allocations: 168.8 kB / 0.6357 GB, free: 15.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.971, allocations: 0 / 0.6357 GB, free: 15.16 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat