Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001002, allocations: 196.3 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000972/0.0009722, allocations: 91 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.441e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.526, allocations: 94.58 MB / 0.6038 GB, free: 15.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.5262, allocations: 68.22 kB / 0.6039 GB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03283/0.559, allocations: 13.99 MB / 0.6175 GB, free: 3.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5591, allocations: 0 / 0.6175 GB, free: 3.695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.343e-05/0.5592, allocations: 32.16 kB / 0.6176 GB, free: 3.664 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001395/0.5606, allocations: 0.904 MB / 0.6185 GB, free: 2.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5606, allocations: 15.97 kB / 0.6185 GB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.5608, allocations: 142.1 kB / 0.6186 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.5611, allocations: 114.8 kB / 0.6187 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007673/0.5618, allocations: 0.538 MB / 0.6192 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.5619, allocations: 71.19 kB / 0.6193 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.562, allocations: 92.23 kB / 0.6194 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.5634, allocations: 0.8522 MB / 0.6202 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.5635, allocations: 19.88 kB / 0.6202 GB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.5636, allocations: 42.69 kB / 0.6203 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.5636, allocations: 20 kB / 0.6203 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008618/0.5645, allocations: 496.4 kB / 0.6208 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.5679, allocations: 3.65 MB / 0.6243 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.5684, allocations: 207.7 kB / 0.6245 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.5685, allocations: 91.86 kB / 0.6246 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.5688, allocations: 247.3 kB / 0.6249 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.5688, allocations: 42.05 kB / 0.6249 GB, free: 13.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.686e-06/0.5688, allocations: 8 kB / 0.6249 GB, free: 13.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001962/0.5708, allocations: 1.182 MB / 0.6261 GB, free: 12.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5708, allocations: 55.41 kB / 0.6261 GB, free: 11.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.5712, allocations: 341.5 kB / 0.6265 GB, free: 11.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.5712, allocations: 37.2 kB / 0.6265 GB, free: 11.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.5714, allocations: 467 kB / 0.6269 GB, free: 11.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/0.5715, allocations: 135.2 kB / 0.6271 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.5716, allocations: 18.19 kB / 0.6271 GB, free: 11.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5717, allocations: 359 kB / 0.6274 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.5718, allocations: 105.6 kB / 0.6275 GB, free: 10.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.5721, allocations: 293.3 kB / 0.6278 GB, free: 10.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.5723, allocations: 153 kB / 0.6279 GB, free: 10.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5723, allocations: 0 / 0.6279 GB, free: 10.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006168/0.5729, allocations: 0.496 MB / 0.6284 GB, free: 9.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.573, allocations: 14.23 kB / 0.6284 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.573, allocations: 8 kB / 0.6285 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.5732, allocations: 40.78 kB / 0.6285 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.5735, allocations: 123.7 kB / 0.6286 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003687/0.5739, allocations: 0.5515 MB / 0.6291 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.5741, allocations: 23.05 kB / 0.6292 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.5742, allocations: 27.81 kB / 0.6292 GB, free: 9.16 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.0001371/0.5743, allocations: 144.1 kB / 0.6293 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.5744, allocations: 51.34 kB / 0.6294 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.575, allocations: 313.8 kB / 0.6297 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.575, allocations: 7.938 kB / 0.6297 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.575, allocations: 0 / 0.6297 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.575, allocations: 3.984 kB / 0.6297 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.5764, allocations: 1.056 MB / 0.6307 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5764, allocations: 4 kB / 0.6307 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.5767, allocations: 80.05 kB / 0.6308 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.5768, allocations: 36.53 kB / 0.6308 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.5769, allocations: 7.812 kB / 0.6308 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002894/0.5772, allocations: 0.5401 MB / 0.6314 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5772, allocations: 4.031 kB / 0.6314 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.5778, allocations: 0.6021 MB / 0.632 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.5779, allocations: 116.4 kB / 0.6321 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.578, allocations: 15.88 kB / 0.6321 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.5781, allocations: 11.73 kB / 0.6321 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.5782, allocations: 27.86 kB / 0.6321 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.5782, allocations: 15.88 kB / 0.6321 GB, free: 6.449 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.5785, allocations: 259 kB / 0.6324 GB, free: 6.246 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5785, allocations: 4 kB / 0.6324 GB, free: 6.242 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005649/0.579, allocations: 135.6 kB / 0.6325 GB, free: 6.121 MB / 426.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.001333/0.5804, allocations: 1.487 MB / 0.634 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006003/0.581, allocations: 311.1 kB / 0.6343 GB, free: 4.469 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.581, allocations: 1.688 kB / 0.6343 GB, free: 4.469 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.5812, allocations: 141 kB / 0.6344 GB, free: 4.367 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.5817, allocations: 73.31 kB / 0.6345 GB, free: 4.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.5843, allocations: 1.483 MB / 0.6359 GB, free: 2.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.5848, allocations: 0.9737 MB / 0.6369 GB, free: 1.883 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.585, allocations: 56.55 kB / 0.6369 GB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.5853, allocations: 297.3 kB / 0.6372 GB, free: 1.762 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5853, allocations: 0 / 0.6372 GB, free: 1.762 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.6091, allocations: 9.32 MB / 0.6463 GB, free: 8.613 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.6093, allocations: 177.9 kB / 0.6465 GB, free: 8.387 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/2.69, allocations: 0 / 0.6465 GB, free: 8.387 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat