Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",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.001108/0.001108, allocations: 183.6 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.787/1.787, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009076/0.0009075, allocations: 94.84 kB / 270.2 MB, free: 13.37 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.241/0.241, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 8 kB / 431.5 MB, free: 19.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 58.86 MB / 490.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.5937, allocations: 101.5 MB / 0.5779 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.594, allocations: 70.72 kB / 0.578 GB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1561/0.7501, allocations: 58.75 MB / 0.6354 GB, free: 11.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7501, allocations: 3.938 kB / 0.6354 GB, free: 11.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.7503, allocations: 48 kB / 0.6354 GB, free: 11.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.01004/0.7603, allocations: 2.728 MB / 0.6381 GB, free: 8.516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.7604, allocations: 12.03 kB / 0.6381 GB, free: 8.504 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002105/0.7625, allocations: 0.4888 MB / 0.6386 GB, free: 8.184 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009286/0.7718, allocations: 1.975 MB / 0.6405 GB, free: 6.215 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.7826, allocations: 3.368 MB / 0.6438 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.7829, allocations: 184.8 kB / 0.644 GB, free: 2.828 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/0.7847, allocations: 247.8 kB / 0.6442 GB, free: 2.586 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.8016, allocations: 6.896 MB / 0.6509 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/0.8018, allocations: 51.61 kB / 0.651 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.8029, allocations: 127.9 kB / 0.6511 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001248/0.8042, allocations: 0.7227 MB / 0.6518 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.818, allocations: 5.891 MB / 0.6576 GB, free: 4.086 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/0.8634, allocations: 33.7 MB / 0.6905 GB, free: 1.211 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004344/0.8678, allocations: 2.101 MB / 0.6925 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.8681, allocations: 174.5 kB / 0.6927 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.8682, allocations: 54.81 kB / 0.6927 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=100): time 4.308e-06/0.8682, allocations: 0 / 0.6927 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112): time 0.01565/0.8838, allocations: 6.379 MB / 0.699 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/0.884, allocations: 141 kB / 0.6991 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004617/0.8886, allocations: 2.608 MB / 0.7016 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.8888, allocations: 45.64 kB / 0.7017 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.8904, allocations: 2.122 MB / 0.7038 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005668/0.891, allocations: 450.3 kB / 0.7042 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.8912, allocations: 84 kB / 0.7043 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003621/0.8916, allocations: 0.4919 MB / 0.7048 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/0.894, allocations: 1.418 MB / 0.7061 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2963/1.19, allocations: 4.256 MB / 0.7103 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/1.196, allocations: 2.404 MB / 0.7126 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/1.196, allocations: 29.97 kB / 0.7127 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.0133/1.209, allocations: 5.467 MB / 0.718 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.21, allocations: 52.97 kB / 0.7181 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002108/1.21, allocations: 101.7 kB / 0.7182 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/1.21, allocations: 149.8 kB / 0.7183 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/1.214, allocations: 1.082 MB / 0.7194 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002861/1.214, allocations: 198.1 kB / 0.7195 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/1.218, allocations: 292.5 kB / 0.7198 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006352/1.219, allocations: 280.9 kB / 0.7201 GB, free: 136.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * Array equations: 3 * 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.002816/1.222, allocations: 1.391 MB / 0.7215 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006226/1.222, allocations: 243.8 kB / 0.7217 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/1.225, allocations: 1.225 MB / 0.7229 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.101e-05/1.225, allocations: 14.61 kB / 0.7229 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.225, allocations: 1.406 kB / 0.7229 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/1.225, allocations: 5.734 kB / 0.7229 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.236, allocations: 4.413 MB / 0.7272 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.236, allocations: 3.875 kB / 0.7272 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000934/1.237, allocations: 209.1 kB / 0.7274 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.237, allocations: 7.594 kB / 0.7274 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/1.237, allocations: 28.16 kB / 0.7274 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/1.237, allocations: 15.91 kB / 0.7275 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.237, allocations: 3.938 kB / 0.7275 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/1.24, allocations: 2.595 MB / 0.73 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.242, allocations: 468.2 kB / 0.7304 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003642/1.242, allocations: 24.61 kB / 0.7305 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.243, allocations: 75.25 kB / 0.7305 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.243, allocations: 68.14 kB / 0.7306 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.054e-05/1.243, allocations: 34.19 kB / 0.7306 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003078/1.246, allocations: 1.847 MB / 0.7324 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.246, allocations: 0 / 0.7324 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005203/1.252, allocations: 0.6337 MB / 0.7331 GB, free: 134.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * 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.003104/1.255, allocations: 4.387 MB / 0.7373 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005595/1.26, allocations: 3.23 MB / 0.7405 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.26, allocations: 0 / 0.7405 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009855/1.261, allocations: 0.7862 MB / 0.7413 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.263, allocations: 249.8 kB / 0.7415 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05601/1.319, allocations: 90.99 MB / 0.8304 GB, free: 46.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/1.321, allocations: 2.269 MB / 0.8326 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003449/1.325, allocations: 1.462 MB / 0.834 GB, free: 45.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.326, allocations: 1.082 MB / 0.8351 GB, free: 44.22 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/1.326, allocations: 0 / 0.8351 GB, free: 44.22 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07227/1.398, allocations: 48.54 MB / 0.8825 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.398, allocations: 175.7 kB / 0.8826 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/4.721, allocations: 0 / 0.8826 GB, free: 7.727 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat