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.0009306/0.0009306, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00024/0.00024, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 63.45 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.02933/0.1641, allocations: 28.87 MB / 0.4984 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01723/0.1814, allocations: 7.465 MB / 0.5057 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005775/0.1872, allocations: 139.6 kB / 0.5058 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.297/0.4842, allocations: 1.466 MB / 0.5073 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01638/0.5007, allocations: 4.389 MB / 0.5116 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.5032, allocations: 403.1 kB / 0.5119 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005389/0.5086, allocations: 2.107 MB / 0.514 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006361/0.515, allocations: 3.303 MB / 0.5172 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.5176, allocations: 0.9107 MB / 0.5181 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.5207, allocations: 1.235 MB / 0.5193 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009025/0.5217, allocations: 141.3 kB / 0.5195 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.5244, allocations: 0.8299 MB / 0.5203 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002215/0.5266, allocations: 1.478 MB / 0.5217 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.5282, allocations: 0.8174 MB / 0.5225 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008277/0.5365, allocations: 5.371 MB / 0.5277 GB, free: 7.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5365, allocations: 0 / 0.5277 GB, free: 7.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.5365, allocations: 0 / 0.5277 GB, free: 7.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003683/0.5369, allocations: 4 kB / 0.5278 GB, free: 7.586 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.01332/0.5502, allocations: 4.15 MB / 0.5318 GB, free: 5.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.5503, allocations: 8.875 kB / 0.5318 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00272/0.553, allocations: 0.7685 MB / 0.5326 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/0.5654, allocations: 3.787 MB / 0.5363 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006034/0.5714, allocations: 2.138 MB / 0.5384 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.5717, allocations: 219.8 kB / 0.5386 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.5732, allocations: 284.8 kB / 0.5388 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02162/0.5948, allocations: 11.18 MB / 0.5497 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.595, allocations: 26.88 kB / 0.5498 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005662/0.5956, allocations: 136.7 kB / 0.5499 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004463/0.6001, allocations: 2.568 MB / 0.5524 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/0.6225, allocations: 10.42 MB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06967/0.6922, allocations: 35.6 MB / 0.5974 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009411/0.7016, allocations: 4.266 MB / 0.6015 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/0.7032, allocations: 1.322 MB / 0.6028 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/0.7033, allocations: 55.48 kB / 0.6029 GB, free: 7.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=235): time 1.23e-05/0.7033, allocations: 4 kB / 0.6029 GB, free: 7.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=256): time 0.04384/0.7471, allocations: 14.24 MB / 0.6168 GB, free: 9.441 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.7472, allocations: 73.41 kB / 0.6168 GB, free: 9.359 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005153/0.7524, allocations: 2.868 MB / 0.6196 GB, free: 6.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005571/0.753, allocations: 57.7 kB / 0.6197 GB, free: 6.418 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.7554, allocations: 2.869 MB / 0.6225 GB, free: 3.559 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.7569, allocations: 0.9421 MB / 0.6234 GB, free: 2.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006019/0.7575, allocations: 114.8 kB / 0.6235 GB, free: 2.516 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006641/0.7582, allocations: 0.5537 MB / 0.6241 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004176/0.7624, allocations: 2.276 MB / 0.6263 GB, free: 15.67 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008076/0.7705, allocations: 5.344 MB / 0.6315 GB, free: 8.828 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006659/0.7772, allocations: 3.505 MB / 0.6349 GB, free: 5.332 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/0.7774, allocations: 36 kB / 0.635 GB, free: 5.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01938/0.7967, allocations: 8.349 MB / 0.6431 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.7969, allocations: 52 kB / 0.6432 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/0.7971, allocations: 104 kB / 0.6433 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003684/0.8008, allocations: 1.052 MB / 0.6443 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004872/0.8057, allocations: 1.294 MB / 0.6456 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.8085, allocations: 2.487 MB / 0.648 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004831/0.8133, allocations: 311.8 kB / 0.6483 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/0.8146, allocations: 324 kB / 0.6486 GB, free: 7.172 MB / 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.005846/0.8205, allocations: 2.215 MB / 0.6508 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007363/0.8212, allocations: 280.3 kB / 0.651 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.8321, allocations: 4.95 MB / 0.6559 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-05/0.8322, allocations: 53.73 kB / 0.6559 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/0.8322, allocations: 0 / 0.6559 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/0.8323, allocations: 11.95 kB / 0.6559 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02705/0.8593, allocations: 11.3 MB / 0.667 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.8594, allocations: 8 kB / 0.667 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/0.8613, allocations: 411.3 kB / 0.6674 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003438/0.8648, allocations: 0.9119 MB / 0.6682 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003801/0.8652, allocations: 63.97 kB / 0.6683 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/0.8679, allocations: 2.299 MB / 0.6706 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/0.8679, allocations: 8.062 kB / 0.6706 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.8815, allocations: 8 MB / 0.6784 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.8827, allocations: 333.4 kB / 0.6787 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/0.8839, allocations: 52.55 kB / 0.6787 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/0.886, allocations: 131.8 kB / 0.6789 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004973/0.8865, allocations: 153.6 kB / 0.679 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/0.8868, allocations: 79.31 kB / 0.6791 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003378/0.8902, allocations: 1.755 MB / 0.6808 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8902, allocations: 0 / 0.6808 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006649/0.8968, allocations: 0.9844 MB / 0.6818 GB, free: 4.508 MB / 0.5137 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.01375/0.9106, allocations: 10.61 MB / 0.6921 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01084/0.9215, allocations: 6.014 MB / 0.698 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.9215, allocations: 4 kB / 0.698 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004684/0.9262, allocations: 2.55 MB / 0.7005 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.9287, allocations: 396.1 kB / 0.7009 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3448/1.274, allocations: 105.7 MB / 0.8041 GB, free: 118.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005251/1.279, allocations: 3.516 MB / 0.8075 GB, free: 117.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004768/1.284, allocations: 2.052 MB / 0.8095 GB, free: 117.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/1.286, allocations: 1.927 MB / 0.8114 GB, free: 115.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/1.286, allocations: 0 / 0.8114 GB, free: 115.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09415/1.38, allocations: 69.52 MB / 0.8793 GB, free: 52.64 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.381, allocations: 206.8 kB / 0.8795 GB, free: 52.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/4.957, allocations: 0 / 0.8795 GB, free: 52.4 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