Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 96.56 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 202 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 45.92 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002676, allocations: 11.98 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 63.47 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.3067/0.4495, allocations: 39.71 MB / 0.509 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.4749, allocations: 9.537 MB / 0.5183 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01174/0.4866, allocations: 190.9 kB / 0.5185 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008929/0.4956, allocations: 2.015 MB / 0.5205 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02182/0.5175, allocations: 5.864 MB / 0.5262 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.5207, allocations: 0.4955 MB / 0.5267 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006155/0.5269, allocations: 2.38 MB / 0.529 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006679/0.5336, allocations: 3.516 MB / 0.5324 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.5367, allocations: 1.124 MB / 0.5335 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.5398, allocations: 1.516 MB / 0.535 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.5409, allocations: 168.6 kB / 0.5352 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.5434, allocations: 0.7536 MB / 0.5359 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.5454, allocations: 1.644 MB / 0.5375 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.5467, allocations: 0.9165 MB / 0.5384 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007319/0.5541, allocations: 5.953 MB / 0.5442 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.5541, allocations: 0 / 0.5442 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5541, allocations: 1.688 kB / 0.5442 GB, free: 1.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003298/0.5544, allocations: 0 / 0.5442 GB, free: 1.984 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01037/0.5648, allocations: 4.295 MB / 0.5484 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5649, allocations: 9.703 kB / 0.5484 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00203/0.5669, allocations: 0.8532 MB / 0.5493 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/0.5799, allocations: 3.867 MB / 0.5531 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/0.5878, allocations: 2.429 MB / 0.5554 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.5882, allocations: 248 kB / 0.5557 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/0.5903, allocations: 330.8 kB / 0.556 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02469/0.6151, allocations: 12.31 MB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/0.6152, allocations: 31.66 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005508/0.6158, allocations: 157.4 kB / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004907/0.6207, allocations: 2.846 MB / 0.571 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02506/0.6458, allocations: 11.2 MB / 0.5819 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07068/0.7165, allocations: 40.81 MB / 0.6217 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009185/0.7257, allocations: 4.674 MB / 0.6263 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.7271, allocations: 1.325 MB / 0.6276 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.7271, allocations: 48.56 kB / 0.6276 GB, free: 14.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=249): time 7.384e-06/0.7272, allocations: 4 kB / 0.6277 GB, free: 14.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.04583/0.773, allocations: 19.18 MB / 0.6464 GB, free: 11.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.7731, allocations: 73.41 kB / 0.6465 GB, free: 10.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004992/0.7781, allocations: 3.266 MB / 0.6496 GB, free: 7.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006131/0.7788, allocations: 61.7 kB / 0.6497 GB, free: 7.586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/0.781, allocations: 3.122 MB / 0.6528 GB, free: 4.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/0.7824, allocations: 0.97 MB / 0.6537 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.7827, allocations: 116 kB / 0.6538 GB, free: 3.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000398/0.7831, allocations: 0.5621 MB / 0.6544 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00385/0.787, allocations: 2.436 MB / 0.6567 GB, free: 384 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007115/0.7941, allocations: 5.669 MB / 0.6623 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00646/0.8006, allocations: 3.724 MB / 0.6659 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.8008, allocations: 32 kB / 0.6659 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01996/0.8208, allocations: 8.932 MB / 0.6747 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.821, allocations: 52.97 kB / 0.6747 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002736/0.8213, allocations: 116 kB / 0.6748 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003324/0.8246, allocations: 1.066 MB / 0.6759 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005718/0.8303, allocations: 1.345 MB / 0.6772 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009572/0.8399, allocations: 5.278 MB / 0.6823 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005282/0.8453, allocations: 330.5 kB / 0.6827 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/0.8468, allocations: 340 kB / 0.683 GB, free: 3.762 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 718 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006957/0.8538, allocations: 2.402 MB / 0.6853 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/0.855, allocations: 316 kB / 0.6856 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.8672, allocations: 5.358 MB / 0.6909 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-05/0.8674, allocations: 50.33 kB / 0.6909 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.8674, allocations: 4.094 kB / 0.6909 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-05/0.8674, allocations: 11.95 kB / 0.6909 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03172/0.8992, allocations: 13.05 MB / 0.7037 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/0.8992, allocations: 12 kB / 0.7037 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.9011, allocations: 415.3 kB / 0.7041 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002772/0.9039, allocations: 0.8946 MB / 0.7049 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002662/0.9042, allocations: 59.94 kB / 0.705 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006241/0.9104, allocations: 4.641 MB / 0.7095 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/0.9105, allocations: 15.94 kB / 0.7095 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.308/1.218, allocations: 9.036 MB / 0.7184 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.22, allocations: 374.1 kB / 0.7187 GB, free: 187.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000881/1.221, allocations: 51.19 kB / 0.7188 GB, free: 187.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/1.222, allocations: 153 kB / 0.7189 GB, free: 187.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004431/1.223, allocations: 168.3 kB / 0.7191 GB, free: 187.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/1.223, allocations: 75.7 kB / 0.7192 GB, free: 187.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003888/1.227, allocations: 2.018 MB / 0.7211 GB, free: 187.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.61e-07/1.227, allocations: 0 / 0.7211 GB, free: 187.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006442/1.233, allocations: 1.1 MB / 0.7222 GB, free: 187.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/1.248, allocations: 12.53 MB / 0.7344 GB, free: 180.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.258, allocations: 5.956 MB / 0.7403 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/1.258, allocations: 1.938 kB / 0.7403 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003252/1.262, allocations: 2.253 MB / 0.7425 GB, free: 177.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/1.264, allocations: 403.5 kB / 0.7428 GB, free: 177.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07424/1.338, allocations: 113.3 MB / 0.8535 GB, free: 74.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004122/1.342, allocations: 3.815 MB / 0.8572 GB, free: 71.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004512/1.347, allocations: 2.151 MB / 0.8593 GB, free: 69.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002808/1.35, allocations: 2.097 MB / 0.8613 GB, free: 67.18 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/1.35, allocations: 0 / 0.8613 GB, free: 67.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/1.711, allocations: 77.02 MB / 0.9366 GB, free: 172.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.711, allocations: 192.1 kB / 0.9367 GB, free: 172.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.005/5.716, allocations: 3.75 kB / 0.9367 GB, free: 172.5 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat