Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001276, allocations: 197.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 103.4 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002464, allocations: 7.984 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2268, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3147/0.5416, allocations: 110.2 MB / 0.5075 GB, free: 95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.5419, allocations: 93.42 kB / 0.5076 GB, free: 95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.762/1.304, allocations: 241.1 MB / 0.743 GB, free: 46.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.717e-06/1.304, allocations: 0 / 0.743 GB, free: 46.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008867/1.305, allocations: 232.9 kB / 0.7432 GB, free: 46.8 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: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.04444/1.349, allocations: 13.09 MB / 0.756 GB, free: 42.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/1.349, allocations: 7.75 kB / 0.756 GB, free: 42.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01153/1.361, allocations: 2.003 MB / 0.758 GB, free: 42.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/1.382, allocations: 4.004 MB / 0.7619 GB, free: 41.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03318/1.415, allocations: 11.05 MB / 0.7727 GB, free: 40.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001319/1.416, allocations: 0.8897 MB / 0.7735 GB, free: 40.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007068/1.423, allocations: 1.189 MB / 0.7747 GB, free: 40.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07817/1.502, allocations: 33.81 MB / 0.8077 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005853/1.502, allocations: 95.09 kB / 0.8078 GB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005502/1.508, allocations: 0.5381 MB / 0.8083 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003236/1.511, allocations: 2.588 MB / 0.8109 GB, free: 7.691 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06671/1.578, allocations: 31.06 MB / 0.8412 GB, free: 8.629 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4613/2.039, allocations: 120.4 MB / 0.9588 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04449/2.084, allocations: 17.35 MB / 0.9757 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04437/2.128, allocations: 31.06 MB / 1.006 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/2.128, allocations: 87.83 kB / 1.006 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=489): time 7.273e-06/2.128, allocations: 0 / 1.006 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=726): time 0.8546/2.983, allocations: 170.3 MB / 1.172 GB, free: 52.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/2.983, allocations: 205.8 kB / 1.173 GB, free: 52.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/2.994, allocations: 7.006 MB / 1.179 GB, free: 45.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002094/2.996, allocations: 141.4 kB / 1.18 GB, free: 45.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004106/3, allocations: 7.082 MB / 1.187 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003574/3.004, allocations: 2.572 MB / 1.189 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00165/3.006, allocations: 292 kB / 1.189 GB, free: 36.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000602/3.006, allocations: 0.9059 MB / 1.19 GB, free: 35.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01366/3.02, allocations: 10.31 MB / 1.2 GB, free: 24.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2667/3.287, allocations: 16.93 MB / 1.217 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02315/3.31, allocations: 13.02 MB / 1.23 GB, free: 92.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000423/3.31, allocations: 62.19 kB / 1.23 GB, free: 92.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.06114/3.371, allocations: 27.69 MB / 1.257 GB, free: 89.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002685/3.372, allocations: 100.2 kB / 1.257 GB, free: 89.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004957/3.372, allocations: 229.6 kB / 1.257 GB, free: 89.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/3.373, allocations: 349.2 kB / 1.257 GB, free: 89.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02172/3.394, allocations: 4.271 MB / 1.261 GB, free: 89.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007661/3.395, allocations: 460 kB / 1.262 GB, free: 89.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0159/3.411, allocations: 1.227 MB / 1.263 GB, free: 89.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003854/3.415, allocations: 0.7486 MB / 1.264 GB, free: 88.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1034 * Number of states: 0 () * Number of discrete variables: 102 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1848): * Single equations (assignments): 1842 * Array equations: 6 * 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.01435/3.43, allocations: 5.456 MB / 1.269 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003239/3.433, allocations: 0.7995 MB / 1.27 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03419/3.467, allocations: 19.61 MB / 1.289 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.739e-05/3.467, allocations: 73.94 kB / 1.289 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/3.467, allocations: 0 / 1.289 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001434/3.467, allocations: 39.8 kB / 1.289 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07493/3.542, allocations: 42.53 MB / 1.331 GB, free: 51.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/3.542, allocations: 8.766 kB / 1.331 GB, free: 51.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01257/3.555, allocations: 2.149 MB / 1.333 GB, free: 50.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/3.555, allocations: 32 kB / 1.333 GB, free: 50.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001653/3.557, allocations: 131 kB / 1.333 GB, free: 50.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.13e-05/3.557, allocations: 31.94 kB / 1.333 GB, free: 50.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/3.557, allocations: 11.44 kB / 1.333 GB, free: 50.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03887/3.596, allocations: 33.93 MB / 1.366 GB, free: 19.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008518/3.604, allocations: 2.706 MB / 1.369 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00391/3.608, allocations: 126.1 kB / 1.369 GB, free: 17.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009254/3.617, allocations: 0.7635 MB / 1.37 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002446/3.62, allocations: 382.2 kB / 1.37 GB, free: 16.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00191/3.622, allocations: 182.5 kB / 1.37 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009329/3.631, allocations: 4.885 MB / 1.375 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.71e-07/3.631, allocations: 0 / 1.375 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0161/3.647, allocations: 3.181 MB / 1.378 GB, free: 9.086 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (710): * Single equations (assignments): 707 * 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.3153/3.963, allocations: 36.36 MB / 1.414 GB, free: 91.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03296/3.996, allocations: 23.25 MB / 1.436 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/3.996, allocations: 0 / 1.436 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01432/4.01, allocations: 9.832 MB / 1.446 GB, free: 82.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006391/4.017, allocations: 0.8546 MB / 1.447 GB, free: 82.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3544/4.371, allocations: 211.8 MB / 1.654 GB, free: 41.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01447/4.385, allocations: 8.271 MB / 1.662 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01748/4.403, allocations: 5.059 MB / 1.667 GB, free: 40.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01258/4.416, allocations: 5.582 MB / 1.672 GB, free: 40.27 MB / 0.5261 GB Notification: Performance of SimCode: time 3.567e-06/4.416, allocations: 0 / 1.672 GB, free: 40.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5019/4.918, allocations: 221.7 MB / 1.889 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/4.918, allocations: 189 kB / 1.889 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/12.63, allocations: 4 kB / 1.889 GB, free: 63.6 MB / 0.5261 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat does not exist to compare? outputFormat=mat