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.002688/0.002687, allocations: 186 kB / 16.4 MB, free: 5.699 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.178/2.178, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001178/0.001178, allocations: 91.39 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5035/0.5035, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.000471, allocations: 16 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5033/0.6309, allocations: 107.6 MB / 0.5839 GB, free: 10.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.6313, allocations: 78.88 kB / 0.584 GB, free: 10.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3707/1.002, allocations: 73.28 MB / 0.6556 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.086e-06/1.002, allocations: 0 / 0.6556 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002324/1.002, allocations: 68 kB / 0.6556 GB, free: 0.8398 MB / 474.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.01501/1.017, allocations: 3.631 MB / 0.6592 GB, free: 13.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.017, allocations: 15.95 kB / 0.6592 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003/1.02, allocations: 0.6471 MB / 0.6598 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/1.037, allocations: 2.089 MB / 0.6619 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01682/1.054, allocations: 4.104 MB / 0.6659 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004043/1.055, allocations: 262.9 kB / 0.6661 GB, free: 5.945 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/1.057, allocations: 360.8 kB / 0.6665 GB, free: 5.594 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.39/1.447, allocations: 8.996 MB / 0.6753 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005987/1.447, allocations: 53.06 kB / 0.6753 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002664/1.45, allocations: 175.8 kB / 0.6755 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003782/1.454, allocations: 0.8859 MB / 0.6763 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03478/1.489, allocations: 7.27 MB / 0.6834 GB, free: 92.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07167/1.561, allocations: 42.98 MB / 0.7254 GB, free: 64.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/1.573, allocations: 3.289 MB / 0.7286 GB, free: 64.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/1.584, allocations: 4.441 MB / 0.733 GB, free: 61.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.584, allocations: 47.48 kB / 0.733 GB, free: 61.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 5.02e-06/1.584, allocations: 0 / 0.733 GB, free: 61.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.05372/1.638, allocations: 11.68 MB / 0.7444 GB, free: 56.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/1.638, allocations: 169.9 kB / 0.7446 GB, free: 56.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009558/1.648, allocations: 3.339 MB / 0.7478 GB, free: 55.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003802/1.648, allocations: 41.95 kB / 0.7479 GB, free: 55.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002687/1.651, allocations: 2.703 MB / 0.7505 GB, free: 53.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.652, allocations: 0.5187 MB / 0.751 GB, free: 52.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007737/1.653, allocations: 105.7 kB / 0.7511 GB, free: 52.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004656/1.653, allocations: 0.5274 MB / 0.7516 GB, free: 52.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006107/1.659, allocations: 1.682 MB / 0.7533 GB, free: 51.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006882/1.666, allocations: 5.099 MB / 0.7583 GB, free: 46.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006613/1.673, allocations: 2.865 MB / 0.761 GB, free: 45.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001377/1.673, allocations: 38.03 kB / 0.7611 GB, free: 45.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02296/1.696, allocations: 6.567 MB / 0.7675 GB, free: 42.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/1.696, allocations: 58.81 kB / 0.7676 GB, free: 42.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003176/1.697, allocations: 121.5 kB / 0.7677 GB, free: 42.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/1.698, allocations: 337.9 kB / 0.768 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01166/1.71, allocations: 1.285 MB / 0.7692 GB, free: 42.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005573/1.716, allocations: 2.328 MB / 0.7715 GB, free: 40.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009933/1.726, allocations: 298.2 kB / 0.7718 GB, free: 40.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/1.728, allocations: 339.4 kB / 0.7721 GB, free: 40.76 MB / 490.7 MB 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 () * Number of clocked 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.007586/1.735, allocations: 1.787 MB / 0.7739 GB, free: 39.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/1.737, allocations: 314 kB / 0.7742 GB, free: 39.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/1.75, allocations: 2.358 MB / 0.7765 GB, free: 38.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-05/1.75, allocations: 15.47 kB / 0.7765 GB, free: 38.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/1.75, allocations: 11.22 kB / 0.7765 GB, free: 38.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.173e-05/1.75, allocations: 7.188 kB / 0.7765 GB, free: 38.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03201/1.782, allocations: 5.942 MB / 0.7823 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.391e-05/1.782, allocations: 0 / 0.7823 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00275/1.785, allocations: 179 kB / 0.7825 GB, free: 36.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006123/1.791, allocations: 0.7088 MB / 0.7832 GB, free: 36.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004322/1.792, allocations: 27.27 kB / 0.7832 GB, free: 36.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.806, allocations: 4.562 MB / 0.7877 GB, free: 34.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.806, allocations: 0 / 0.7877 GB, free: 34.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/1.823, allocations: 4.457 MB / 0.792 GB, free: 32.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002832/1.826, allocations: 0.5345 MB / 0.7925 GB, free: 31.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/1.828, allocations: 23.77 kB / 0.7926 GB, free: 31.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003778/1.831, allocations: 72.53 kB / 0.7926 GB, free: 31.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006919/1.832, allocations: 67.11 kB / 0.7927 GB, free: 31.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/1.832, allocations: 33.95 kB / 0.7927 GB, free: 31.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009033/1.841, allocations: 2.327 MB / 0.795 GB, free: 30.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.583e-06/1.842, allocations: 0 / 0.795 GB, free: 30.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01006/1.852, allocations: 0.8302 MB / 0.7958 GB, free: 30.88 MB / 490.7 MB 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 () * Number of clocked 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.01807/1.87, allocations: 5.374 MB / 0.801 GB, free: 28.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01406/1.884, allocations: 4.002 MB / 0.805 GB, free: 26.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.884, allocations: 4 kB / 0.805 GB, free: 26.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003826/1.888, allocations: 1.104 MB / 0.806 GB, free: 26.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004988/1.893, allocations: 369.4 kB / 0.8064 GB, free: 26.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.435/2.328, allocations: 100 MB / 0.9041 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006889/2.335, allocations: 2.869 MB / 0.9069 GB, free: 74.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004498/2.339, allocations: 1.569 MB / 0.9084 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.533e-06/2.339, allocations: 1.062 kB / 0.9084 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.069/6.408, allocations: 82.63 MB / 0.9891 GB, free: 55.54 MB / 0.5105 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