Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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) 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 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(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009984/0.0009985, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000676/0.0006761, allocations: 87.94 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1781/0.1781, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.764e-05, allocations: 8 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09218, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4562, allocations: 111.2 MB / 0.6201 GB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4565, allocations: 74.47 kB / 0.6201 GB, free: 14.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2278/0.6843, allocations: 98.75 MB / 0.7166 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6843, allocations: 0 / 0.7166 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001456/0.6845, allocations: 87.98 kB / 0.7166 GB, free: 3.863 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01379/0.6983, allocations: 4.702 MB / 0.7212 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6983, allocations: 15.97 kB / 0.7212 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002263/0.7006, allocations: 0.9231 MB / 0.7222 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01434/0.7149, allocations: 3.604 MB / 0.7257 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.7253, allocations: 4.21 MB / 0.7298 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/0.7256, allocations: 377.6 kB / 0.7301 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/0.7269, allocations: 491.8 kB / 0.7306 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.7466, allocations: 11.94 MB / 0.7423 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.7468, allocations: 31.75 kB / 0.7423 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005964/0.7474, allocations: 223.8 kB / 0.7425 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001544/0.7489, allocations: 1.295 MB / 0.7438 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2783/1.027, allocations: 11.17 MB / 0.7547 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0557/1.083, allocations: 41.37 MB / 0.7951 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008103/1.091, allocations: 4.916 MB / 0.7999 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/1.094, allocations: 2.341 MB / 0.8022 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008025/1.102, allocations: 6.823 MB / 0.8088 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.102, allocations: 55.69 kB / 0.8089 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=226): time 5.37e-06/1.102, allocations: 7.141 kB / 0.8089 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=235): time 0.02676/1.129, allocations: 13.52 MB / 0.8221 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.129, allocations: 71.72 kB / 0.8222 GB, free: 98.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/1.132, allocations: 2.779 MB / 0.8249 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.132, allocations: 49.11 kB / 0.8249 GB, free: 97.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/1.133, allocations: 3.228 MB / 0.8281 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000501/1.134, allocations: 0.8781 MB / 0.8289 GB, free: 94.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.134, allocations: 114.5 kB / 0.8291 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002358/1.134, allocations: 0.5713 MB / 0.8296 GB, free: 93.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/1.137, allocations: 2.293 MB / 0.8319 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003548/1.14, allocations: 5.594 MB / 0.8373 GB, free: 87.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/1.144, allocations: 3.613 MB / 0.8408 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.784e-05/1.144, allocations: 32.94 kB / 0.8409 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01303/1.157, allocations: 8.663 MB / 0.8493 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/1.157, allocations: 54.56 kB / 0.8494 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/1.157, allocations: 117.6 kB / 0.8495 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003465/1.161, allocations: 1.139 MB / 0.8506 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/1.165, allocations: 1.343 MB / 0.8519 GB, free: 83.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004629/1.17, allocations: 4.582 MB / 0.8564 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/1.174, allocations: 331.2 kB / 0.8567 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009427/1.175, allocations: 344.5 kB / 0.857 GB, free: 79.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 721 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.001/1.176, allocations: 0.5261 MB / 0.8576 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005975/1.176, allocations: 304 kB / 0.8578 GB, free: 78.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006287/1.182, allocations: 4.328 MB / 0.8621 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-05/1.183, allocations: 48.55 kB / 0.8621 GB, free: 74.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.183, allocations: 4 kB / 0.8621 GB, free: 74.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/1.183, allocations: 9.797 kB / 0.8621 GB, free: 74.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/1.197, allocations: 10.33 MB / 0.8722 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.197, allocations: 8.125 kB / 0.8722 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/1.199, allocations: 390.8 kB / 0.8726 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/1.2, allocations: 0.6684 MB / 0.8733 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/1.2, allocations: 51.23 kB / 0.8733 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/1.202, allocations: 2.409 MB / 0.8757 GB, free: 62.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.202, allocations: 7.938 kB / 0.8757 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008331/1.211, allocations: 7.12 MB / 0.8826 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/1.212, allocations: 348.7 kB / 0.8829 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/1.212, allocations: 47.89 kB / 0.883 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.213, allocations: 129.8 kB / 0.8831 GB, free: 55.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/1.214, allocations: 138.9 kB / 0.8832 GB, free: 55.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/1.214, allocations: 63.7 kB / 0.8833 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002234/1.216, allocations: 1.864 MB / 0.8851 GB, free: 53.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.216, allocations: 0 / 0.8851 GB, free: 53.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003639/1.22, allocations: 1.065 MB / 0.8862 GB, free: 52.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * 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.007597/1.227, allocations: 9.083 MB / 0.895 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007206/1.235, allocations: 5.658 MB / 0.9006 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.235, allocations: 0 / 0.9006 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/1.238, allocations: 2.365 MB / 0.9029 GB, free: 37.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.24, allocations: 436.9 kB / 0.9033 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/1.258, allocations: 10.88 MB / 0.9139 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00321/1.261, allocations: 3.776 MB / 0.9176 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004102/1.265, allocations: 2.022 MB / 0.9196 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002263/1.267, allocations: 2.077 MB / 0.9216 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/1.267, allocations: 4 kB / 0.9216 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3668/1.634, allocations: 75.64 MB / 0.9955 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/1.634, allocations: 191.5 kB / 0.9957 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/5.072, allocations: 0 / 0.9957 GB, free: 128.9 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat