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/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.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/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 95.59 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.001328/0.001328, allocations: 205.7 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.393/1.393, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003936, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1695, allocations: 63.46 MB / 481.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.03803/0.2076, allocations: 36 MB / 0.5054 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.314/0.5217, allocations: 8.981 MB / 0.5142 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008788/0.5305, allocations: 175.4 kB / 0.5143 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008881/0.5394, allocations: 1.829 MB / 0.5161 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02143/0.5609, allocations: 5.333 MB / 0.5213 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.5641, allocations: 491.4 kB / 0.5218 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006056/0.5702, allocations: 2.335 MB / 0.5241 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006864/0.5771, allocations: 4.247 MB / 0.5282 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.5801, allocations: 1.029 MB / 0.5292 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/0.5835, allocations: 1.368 MB / 0.5306 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009511/0.5845, allocations: 158.5 kB / 0.5307 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.5873, allocations: 0.8769 MB / 0.5316 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.5894, allocations: 1.66 MB / 0.5332 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.5909, allocations: 0.923 MB / 0.5341 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008784/0.5997, allocations: 6.109 MB / 0.5401 GB, free: 2.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5997, allocations: 0 / 0.5401 GB, free: 2.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5997, allocations: 0 / 0.5401 GB, free: 2.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000359/0.6001, allocations: 1.688 kB / 0.5401 GB, free: 2.855 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: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01178/0.6119, allocations: 4.578 MB / 0.5445 GB, free: 128 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.612, allocations: 9.125 kB / 0.5445 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003415/0.6154, allocations: 0.903 MB / 0.5454 GB, free: 0 / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.6303, allocations: 3.845 MB / 0.5492 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007536/0.6379, allocations: 2.352 MB / 0.5515 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/0.6382, allocations: 267.4 kB / 0.5517 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/0.6402, allocations: 348.3 kB / 0.5521 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03143/0.6717, allocations: 12.43 MB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/0.6719, allocations: 31.72 kB / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001351/0.6733, allocations: 164.6 kB / 0.5644 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004619/0.6779, allocations: 2.693 MB / 0.567 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/0.7054, allocations: 11.4 MB / 0.5781 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07688/0.7823, allocations: 39.62 MB / 0.6168 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.7941, allocations: 4.967 MB / 0.6217 GB, free: 4.242 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01639/0.8105, allocations: 6.878 MB / 0.6284 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.8108, allocations: 52.56 kB / 0.6285 GB, free: 12.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=226): time 1.306e-05/0.8108, allocations: 0 / 0.6285 GB, free: 12.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.04711/0.8579, allocations: 16.74 MB / 0.6448 GB, free: 11.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.8581, allocations: 69.41 kB / 0.6449 GB, free: 11.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007373/0.8654, allocations: 3.231 MB / 0.648 GB, free: 8.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006703/0.8662, allocations: 64.05 kB / 0.6481 GB, free: 8.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003481/0.8697, allocations: 3.224 MB / 0.6512 GB, free: 5.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001951/0.8716, allocations: 0.8918 MB / 0.6521 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008629/0.8725, allocations: 117.6 kB / 0.6522 GB, free: 4.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0008897/0.8734, allocations: 0.5622 MB / 0.6528 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005021/0.8785, allocations: 2.346 MB / 0.6551 GB, free: 1.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008111/0.8866, allocations: 5.639 MB / 0.6606 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00715/0.8938, allocations: 3.63 MB / 0.6641 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/0.894, allocations: 36 kB / 0.6641 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.0216/0.9156, allocations: 8.788 MB / 0.6727 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002014/0.9159, allocations: 56.97 kB / 0.6728 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002494/0.9161, allocations: 112 kB / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/0.92, allocations: 1.153 MB / 0.674 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005245/0.9253, allocations: 1.353 MB / 0.6753 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009927/0.9352, allocations: 6.669 MB / 0.6818 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005128/0.9404, allocations: 327.7 kB / 0.6822 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/0.9417, allocations: 340.5 kB / 0.6825 GB, free: 3.453 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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.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 (730): * Single equations (assignments): 722 * 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.007077/0.9488, allocations: 2.371 MB / 0.6848 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009779/0.9498, allocations: 304.4 kB / 0.6851 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008926/0.9587, allocations: 4.388 MB / 0.6894 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.987e-05/0.9588, allocations: 43.98 kB / 0.6894 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.9589, allocations: 8 kB / 0.6894 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.9589, allocations: 11.91 kB / 0.6894 GB, free: 12.3 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02521/0.9841, allocations: 10.54 MB / 0.6997 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.255e-05/0.9842, allocations: 4 kB / 0.6997 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.9863, allocations: 380.1 kB / 0.7001 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/0.9887, allocations: 0.6852 MB / 0.7008 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005051/0.9892, allocations: 48.97 kB / 0.7008 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.9926, allocations: 2.452 MB / 0.7032 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/0.9926, allocations: 7.938 kB / 0.7032 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.006, allocations: 7.195 MB / 0.7102 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.007, allocations: 353.1 kB / 0.7106 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.008, allocations: 47.98 kB / 0.7106 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.01, allocations: 134.2 kB / 0.7107 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/1.011, allocations: 133.7 kB / 0.7109 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.011, allocations: 63.98 kB / 0.7109 GB, free: 5.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003378/1.014, allocations: 1.981 MB / 0.7129 GB, free: 3.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/1.014, allocations: 0 / 0.7129 GB, free: 3.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005113/1.019, allocations: 1.069 MB / 0.7139 GB, free: 2.668 MB / 0.545 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 () * Number of clocked 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.2633/1.283, allocations: 9.16 MB / 0.7229 GB, free: 188.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01138/1.294, allocations: 5.888 MB / 0.7286 GB, free: 186.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.294, allocations: 1.25 kB / 0.7286 GB, free: 186.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004689/1.299, allocations: 2.392 MB / 0.7309 GB, free: 185.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/1.302, allocations: 426.6 kB / 0.7314 GB, free: 185.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06551/1.367, allocations: 113.4 MB / 0.8421 GB, free: 84.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004332/1.372, allocations: 3.773 MB / 0.8458 GB, free: 81.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004887/1.376, allocations: 2.017 MB / 0.8478 GB, free: 80.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003138/1.38, allocations: 2.083 MB / 0.8498 GB, free: 78.52 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/1.38, allocations: 0 / 0.8498 GB, free: 78.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/1.487, allocations: 75.96 MB / 0.924 GB, free: 2.957 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/1.487, allocations: 220.1 kB / 0.9242 GB, free: 2.719 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.551/5.038, allocations: 3.938 kB / 0.9242 GB, free: 2.715 MB / 0.545 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