Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.002372/0.002378, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00109/0.00109, allocations: 82.66 kB / 267.5 MB, free: 14.05 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.2817/0.2817, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.644e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5578/0.6772, allocations: 107.5 MB / 0.5779 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.6775, allocations: 82.36 kB / 0.578 GB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3269/1.004, allocations: 73.31 MB / 0.6496 GB, free: 10.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.005, allocations: 0 / 0.6496 GB, free: 10.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002583/1.005, allocations: 68 kB / 0.6496 GB, free: 10.63 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01372/1.019, allocations: 3.401 MB / 0.653 GB, free: 7.172 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.019, allocations: 8.031 kB / 0.653 GB, free: 7.164 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002882/1.022, allocations: 0.651 MB / 0.6536 GB, free: 6.504 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/1.038, allocations: 2.085 MB / 0.6556 GB, free: 4.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01695/1.055, allocations: 4.1 MB / 0.6597 GB, free: 252 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/1.056, allocations: 263 kB / 0.6599 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/1.058, allocations: 347.8 kB / 0.6602 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02827/1.086, allocations: 8.941 MB / 0.669 GB, free: 5.711 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002828/1.086, allocations: 63.41 kB / 0.669 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001673/1.088, allocations: 171.9 kB / 0.6692 GB, free: 5.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002335/1.091, allocations: 0.8878 MB / 0.6701 GB, free: 4.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/1.114, allocations: 7.169 MB / 0.6771 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4808/1.595, allocations: 42.96 MB / 0.719 GB, free: 97.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/1.608, allocations: 3.276 MB / 0.7222 GB, free: 96.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/1.611, allocations: 1.447 MB / 0.7236 GB, free: 96.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/1.622, allocations: 4.438 MB / 0.728 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.622, allocations: 45.75 kB / 0.728 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=121): time 5.28e-06/1.622, allocations: 0 / 0.728 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=129): time 0.04005/1.663, allocations: 9.639 MB / 0.7374 GB, free: 92.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/1.663, allocations: 172.7 kB / 0.7376 GB, free: 92.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009161/1.672, allocations: 3.307 MB / 0.7408 GB, free: 91.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003439/1.672, allocations: 42.75 kB / 0.7408 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/1.675, allocations: 2.703 MB / 0.7435 GB, free: 90.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008298/1.676, allocations: 0.5155 MB / 0.744 GB, free: 90 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/1.676, allocations: 107.8 kB / 0.7441 GB, free: 90 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004096/1.677, allocations: 0.5352 MB / 0.7446 GB, free: 89.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004209/1.681, allocations: 1.643 MB / 0.7462 GB, free: 89.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006566/1.688, allocations: 5.056 MB / 0.7512 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006406/1.694, allocations: 2.883 MB / 0.754 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001753/1.694, allocations: 33.78 kB / 0.754 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01705/1.711, allocations: 6.498 MB / 0.7603 GB, free: 84.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.711, allocations: 67.77 kB / 0.7604 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/1.712, allocations: 125.1 kB / 0.7605 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009946/1.713, allocations: 334.5 kB / 0.7609 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007932/1.721, allocations: 1.285 MB / 0.7621 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/1.724, allocations: 2.296 MB / 0.7643 GB, free: 83.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005886/1.73, allocations: 283.2 kB / 0.7646 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/1.731, allocations: 338 kB / 0.7649 GB, free: 83.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001384/1.733, allocations: 0.5257 MB / 0.7655 GB, free: 82.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007983/1.733, allocations: 311.2 kB / 0.7658 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0078/1.741, allocations: 2.362 MB / 0.7681 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/1.741, allocations: 15.06 kB / 0.7681 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.741, allocations: 3.406 kB / 0.7681 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/1.741, allocations: 7.078 kB / 0.7681 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/1.762, allocations: 5.925 MB / 0.7739 GB, free: 79.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/1.762, allocations: 3.031 kB / 0.7739 GB, free: 79.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.764, allocations: 181.1 kB / 0.774 GB, free: 79.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003861/1.768, allocations: 0.7117 MB / 0.7747 GB, free: 79.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002952/1.768, allocations: 26.92 kB / 0.7748 GB, free: 79.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008702/1.777, allocations: 4.439 MB / 0.7791 GB, free: 77.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.777, allocations: 3.969 kB / 0.7791 GB, free: 77.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/1.788, allocations: 4.428 MB / 0.7834 GB, free: 75.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.79, allocations: 0.5332 MB / 0.7839 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009448/1.791, allocations: 20.58 kB / 0.784 GB, free: 74.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.793, allocations: 72.2 kB / 0.784 GB, free: 74.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/1.794, allocations: 76.98 kB / 0.7841 GB, free: 74.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.794, allocations: 36.33 kB / 0.7841 GB, free: 74.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005985/1.8, allocations: 2.29 MB / 0.7864 GB, free: 74.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.82e-07/1.8, allocations: 2.312 kB / 0.7864 GB, free: 74.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006388/1.806, allocations: 0.8258 MB / 0.7872 GB, free: 73.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01213/1.818, allocations: 5.347 MB / 0.7924 GB, free: 71.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009095/1.828, allocations: 3.96 MB / 0.7963 GB, free: 68.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.828, allocations: 5.562 kB / 0.7963 GB, free: 68.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00236/1.83, allocations: 1.098 MB / 0.7974 GB, free: 67.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/1.833, allocations: 347.7 kB / 0.7977 GB, free: 67.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02485/1.858, allocations: 7.444 MB / 0.805 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005796/1.864, allocations: 2.872 MB / 0.8078 GB, free: 58.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003779/1.868, allocations: 1.57 MB / 0.8093 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of SimCode: time 2.004e-06/1.868, allocations: 4 kB / 0.8093 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.104/5.972, allocations: 83.12 MB / 0.8905 GB, free: 12.16 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat