Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009682/0.0009683, allocations: 101.7 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002764, allocations: 7.984 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.03097/0.1765, allocations: 30.44 MB / 0.5001 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.322/0.4985, allocations: 7.198 MB / 0.5071 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006567/0.5051, allocations: 138.6 kB / 0.5072 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005508/0.5107, allocations: 1.512 MB / 0.5087 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01473/0.5254, allocations: 4.505 MB / 0.5131 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.5277, allocations: 416.5 kB / 0.5135 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007675/0.5353, allocations: 4.192 MB / 0.5176 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007394/0.5428, allocations: 3.333 MB / 0.5209 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.546, allocations: 1.089 MB / 0.5219 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.5501, allocations: 1.753 MB / 0.5236 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.5515, allocations: 138.7 kB / 0.5238 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.5549, allocations: 0.8497 MB / 0.5246 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003246/0.5582, allocations: 1.592 MB / 0.5262 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002558/0.5607, allocations: 0.8135 MB / 0.5269 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008081/0.5688, allocations: 5.374 MB / 0.5322 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.5689, allocations: 6.125 kB / 0.5322 GB, free: 4.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5689, allocations: 0 / 0.5322 GB, free: 4.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003439/0.5693, allocations: 2.875 kB / 0.5322 GB, free: 4.699 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01152/0.5808, allocations: 4.09 MB / 0.5362 GB, free: 2.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5808, allocations: 11.16 kB / 0.5362 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00139/0.5822, allocations: 0.7744 MB / 0.537 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009685/0.5919, allocations: 3.217 MB / 0.5401 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005971/0.598, allocations: 2.241 MB / 0.5423 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.5983, allocations: 215.9 kB / 0.5425 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.5996, allocations: 289.6 kB / 0.5428 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02019/0.6198, allocations: 11.11 MB / 0.5536 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.62, allocations: 33.45 kB / 0.5537 GB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/0.6204, allocations: 137.9 kB / 0.5538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004111/0.6246, allocations: 2.566 MB / 0.5563 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/0.6456, allocations: 10.35 MB / 0.5664 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05781/0.7035, allocations: 35.5 MB / 0.6011 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007714/0.7112, allocations: 4.282 MB / 0.6052 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/0.7144, allocations: 2.107 MB / 0.6073 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.7155, allocations: 1.321 MB / 0.6086 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.7156, allocations: 56.55 kB / 0.6086 GB, free: 16 kB / 446.1 MB Notification: Performance of pre-optimization done (n=235): time 4.188e-06/0.7156, allocations: 3.938 kB / 0.6087 GB, free: 12 kB / 446.1 MB Notification: Performance of matching and sorting (n=256): time 0.03903/0.7546, allocations: 13.7 MB / 0.622 GB, free: 2.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.7547, allocations: 74.84 kB / 0.6221 GB, free: 2.188 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004496/0.7592, allocations: 2.749 MB / 0.6248 GB, free: 15.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005896/0.7599, allocations: 60.52 kB / 0.6248 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002077/0.762, allocations: 2.865 MB / 0.6276 GB, free: 12.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/0.7634, allocations: 0.938 MB / 0.6286 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.7637, allocations: 112 kB / 0.6287 GB, free: 11.47 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004654/0.7642, allocations: 0.5576 MB / 0.6292 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/0.7679, allocations: 2.275 MB / 0.6314 GB, free: 8.621 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00548/0.7734, allocations: 5.364 MB / 0.6367 GB, free: 1.758 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005358/0.7788, allocations: 3.503 MB / 0.6401 GB, free: 14.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.704e-05/0.7788, allocations: 28 kB / 0.6401 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01614/0.795, allocations: 8.367 MB / 0.6483 GB, free: 5.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/0.7951, allocations: 56.22 kB / 0.6483 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.7952, allocations: 108 kB / 0.6484 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/0.7985, allocations: 1.04 MB / 0.6495 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004581/0.8031, allocations: 1.298 MB / 0.6507 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.8061, allocations: 2.462 MB / 0.6531 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004814/0.811, allocations: 311.7 kB / 0.6534 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008971/0.8119, allocations: 320 kB / 0.6537 GB, free: 128 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (701): * Single equations (assignments): 692 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005113/0.817, allocations: 2.22 MB / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/0.8176, allocations: 280.3 kB / 0.6562 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008971/0.8266, allocations: 4.946 MB / 0.661 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.523e-05/0.8267, allocations: 43.98 kB / 0.661 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.8267, allocations: 0 / 0.661 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/0.8268, allocations: 11.95 kB / 0.6611 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/0.8465, allocations: 11.31 MB / 0.6721 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.8466, allocations: 8 kB / 0.6721 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.8482, allocations: 407.3 kB / 0.6725 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/0.8512, allocations: 0.9152 MB / 0.6734 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002564/0.8515, allocations: 57.72 kB / 0.6734 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.8539, allocations: 2.268 MB / 0.6757 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.8539, allocations: 15.92 kB / 0.6757 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.8653, allocations: 7.35 MB / 0.6828 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007762/0.8661, allocations: 317.4 kB / 0.6831 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/0.8666, allocations: 55.94 kB / 0.6832 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.8677, allocations: 139.8 kB / 0.6833 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/0.868, allocations: 149.6 kB / 0.6835 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.8681, allocations: 83.41 kB / 0.6836 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00253/0.8707, allocations: 1.665 MB / 0.6852 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8707, allocations: 1.641 kB / 0.6852 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004213/0.8749, allocations: 0.9765 MB / 0.6861 GB, free: 14.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * 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 (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01168/0.8866, allocations: 8.034 MB / 0.694 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01016/0.8968, allocations: 6.004 MB / 0.6998 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.8969, allocations: 0 / 0.6998 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/0.9012, allocations: 2.549 MB / 0.7023 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.9037, allocations: 435.2 kB / 0.7028 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3105/1.214, allocations: 31.88 MB / 0.7339 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005476/1.22, allocations: 3.429 MB / 0.7372 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004633/1.224, allocations: 2.051 MB / 0.7392 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002706/1.227, allocations: 1.921 MB / 0.7411 GB, free: 185.6 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/1.227, allocations: 4 kB / 0.7411 GB, free: 185.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.328, allocations: 68.94 MB / 0.8084 GB, free: 124.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/1.328, allocations: 212.8 kB / 0.8086 GB, free: 124.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.368/4.696, allocations: 4 kB / 0.8087 GB, free: 124.1 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat