Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007119/0.000712, allocations: 96.62 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008796/0.0008797, allocations: 172.3 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3895/0.3895, allocations: 43.54 MB / 314.6 MB, free: 9.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005335/0.0005336, allocations: 12 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.128, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.2859/0.4139, allocations: 30.8 MB / 473.7 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.4312, allocations: 7.249 MB / 480.9 MB, free: 28.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007222/0.4384, allocations: 134.8 kB / 481.1 MB, free: 28.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003585/0.442, allocations: 1.526 MB / 482.6 MB, free: 27.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.453, allocations: 4.55 MB / 487.1 MB, free: 25.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.4543, allocations: 422.3 kB / 487.5 MB, free: 25.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004634/0.4589, allocations: 4.259 MB / 491.8 MB, free: 24.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/0.4633, allocations: 3.375 MB / 495.2 MB, free: 22.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.4656, allocations: 1.126 MB / 496.3 MB, free: 22.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.4686, allocations: 1.83 MB / 498.1 MB, free: 21.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004916/0.4691, allocations: 146.2 kB / 498.3 MB, free: 21.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.4713, allocations: 0.8692 MB / 499.1 MB, free: 21.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.4735, allocations: 1.647 MB / 0.4891 GB, free: 21.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009275/0.4744, allocations: 0.8414 MB / 0.4899 GB, free: 20.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008401/0.4828, allocations: 5.599 MB / 0.4953 GB, free: 18.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4828, allocations: 0 / 0.4953 GB, free: 18.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4828, allocations: 0 / 0.4953 GB, free: 18.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001717/0.483, allocations: 1.5 kB / 0.4953 GB, free: 18.79 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.009272/0.4923, allocations: 4.091 MB / 0.4993 GB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.4924, allocations: 10.22 kB / 0.4993 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/0.4935, allocations: 0.7907 MB / 0.5001 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.5036, allocations: 3.237 MB / 0.5033 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.5083, allocations: 2.539 MB / 0.5058 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.5085, allocations: 222.5 kB / 0.506 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005847/0.5091, allocations: 299.8 kB / 0.5063 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/0.525, allocations: 11.44 MB / 0.5174 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.5252, allocations: 27.8 kB / 0.5175 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006474/0.5258, allocations: 135.8 kB / 0.5176 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00337/0.5292, allocations: 2.636 MB / 0.5202 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02201/0.5512, allocations: 10.66 MB / 0.5306 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06413/0.6154, allocations: 36.44 MB / 0.5662 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008501/0.624, allocations: 4.397 MB / 0.5704 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003331/0.6273, allocations: 2.165 MB / 0.5726 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.6287, allocations: 1.311 MB / 0.5738 GB, free: 8.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.6287, allocations: 48.56 kB / 0.5739 GB, free: 8.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=244): time 6.632e-06/0.6287, allocations: 0 / 0.5739 GB, free: 8.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.03946/0.6682, allocations: 13.96 MB / 0.5875 GB, free: 10.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.6683, allocations: 77.41 kB / 0.5876 GB, free: 10.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006134/0.6745, allocations: 2.833 MB / 0.5904 GB, free: 7.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005904/0.6751, allocations: 61.7 kB / 0.5904 GB, free: 7.254 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002644/0.6777, allocations: 2.942 MB / 0.5933 GB, free: 4.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001669/0.6794, allocations: 0.9674 MB / 0.5942 GB, free: 3.289 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007556/0.6802, allocations: 116 kB / 0.5944 GB, free: 3.176 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000686/0.6809, allocations: 0.5619 MB / 0.5949 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004383/0.6853, allocations: 2.338 MB / 0.5972 GB, free: 268 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007353/0.6927, allocations: 5.509 MB / 0.6026 GB, free: 9.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00607/0.6988, allocations: 3.591 MB / 0.6061 GB, free: 5.609 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/0.6989, allocations: 32 kB / 0.6061 GB, free: 5.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.01681/0.7157, allocations: 8.56 MB / 0.6145 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.7159, allocations: 52 kB / 0.6145 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/0.7161, allocations: 108 kB / 0.6146 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003295/0.7194, allocations: 1.052 MB / 0.6156 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/0.7239, allocations: 1.337 MB / 0.6169 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/0.7267, allocations: 2.486 MB / 0.6194 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003974/0.7307, allocations: 313.4 kB / 0.6197 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008617/0.7316, allocations: 336 kB / 0.62 GB, free: 7.184 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (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 (723): * Single equations (assignments): 714 * 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.005089/0.7367, allocations: 2.278 MB / 0.6222 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007652/0.7375, allocations: 288.2 kB / 0.6225 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2725/1.01, allocations: 5.069 MB / 0.6274 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-05/1.01, allocations: 46.25 kB / 0.6275 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.01, allocations: 2.719 kB / 0.6275 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.356e-05/1.01, allocations: 15.2 kB / 0.6275 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/1.029, allocations: 11.55 MB / 0.6388 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.029, allocations: 6.25 kB / 0.6388 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.031, allocations: 434.7 kB / 0.6392 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/1.033, allocations: 0.9069 MB / 0.6401 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/1.034, allocations: 62.09 kB / 0.6401 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/1.036, allocations: 2.269 MB / 0.6424 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.036, allocations: 13.47 kB / 0.6424 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009839/1.045, allocations: 7.501 MB / 0.6497 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009594/1.046, allocations: 335.3 kB / 0.65 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003418/1.047, allocations: 49.52 kB / 0.6501 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.048, allocations: 139.3 kB / 0.6502 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/1.048, allocations: 168.7 kB / 0.6504 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.048, allocations: 76.86 kB / 0.6504 GB, free: 132.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00306/1.051, allocations: 1.719 MB / 0.6521 GB, free: 131.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.051, allocations: 3.391 kB / 0.6521 GB, free: 131.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004864/1.056, allocations: 1.002 MB / 0.6531 GB, free: 131.6 MB / 494.1 MB 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 (216): * Single equations (assignments): 207 * 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.01234/1.069, allocations: 8.183 MB / 0.6611 GB, free: 128.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01071/1.079, allocations: 6.147 MB / 0.6671 GB, free: 126.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/1.079, allocations: 3.938 kB / 0.6671 GB, free: 126.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004003/1.083, allocations: 2.601 MB / 0.6696 GB, free: 125.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/1.086, allocations: 432 kB / 0.67 GB, free: 125.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05112/1.137, allocations: 32.89 MB / 0.7022 GB, free: 97.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003488/1.141, allocations: 3.514 MB / 0.7056 GB, free: 95.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00444/1.145, allocations: 2.091 MB / 0.7076 GB, free: 92.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/1.147, allocations: 1.972 MB / 0.7096 GB, free: 90.99 MB / 494.1 MB Notification: Performance of SimCode: time 1.694e-06/1.147, allocations: 0 / 0.7096 GB, free: 90.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09983/1.247, allocations: 70.77 MB / 0.7787 GB, free: 20.23 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/1.248, allocations: 212.8 kB / 0.7789 GB, free: 19.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.442/4.689, allocations: 0 / 0.7789 GB, free: 19.99 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat