Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",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.0009439/0.0009441, allocations: 96.67 kB / 15.68 MB, free: 488 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.001288/0.001288, allocations: 175.8 kB / 16.57 MB, free: 6.379 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.719/1.719, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.395/0.395, allocations: 43.55 MB / 314.5 MB, free: 8.77 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.0005565/0.0005568, allocations: 12 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1366, allocations: 58.86 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.2955/0.4322, allocations: 36.32 MB / 479.2 MB, free: 29.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02399/0.4562, allocations: 9.025 MB / 488.2 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01161/0.4679, allocations: 174.2 kB / 488.4 MB, free: 23.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008471/0.4764, allocations: 1.837 MB / 490.2 MB, free: 22.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02197/0.4985, allocations: 5.372 MB / 495.6 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003517/0.502, allocations: 0.493 MB / 496.1 MB, free: 19.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005353/0.5074, allocations: 2.349 MB / 498.4 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008696/0.5161, allocations: 4.297 MB / 0.4909 GB, free: 17.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.5192, allocations: 1.055 MB / 0.492 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003725/0.5229, allocations: 1.432 MB / 0.4934 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.5241, allocations: 164.8 kB / 0.4935 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.5272, allocations: 0.8945 MB / 0.4944 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002632/0.5299, allocations: 1.719 MB / 0.4961 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.5321, allocations: 0.9457 MB / 0.497 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.5458, allocations: 6.333 MB / 0.5032 GB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5459, allocations: 0 / 0.5032 GB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5459, allocations: 0 / 0.5032 GB, free: 12.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003915/0.5463, allocations: 1.094 kB / 0.5032 GB, free: 12.2 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0161/0.5624, allocations: 4.574 MB / 0.5076 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.5625, allocations: 8.656 kB / 0.5077 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003926/0.5664, allocations: 0.8833 MB / 0.5085 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/0.5814, allocations: 3.864 MB / 0.5123 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009066/0.5905, allocations: 2.542 MB / 0.5148 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/0.5909, allocations: 268.3 kB / 0.515 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002885/0.5938, allocations: 364.4 kB / 0.5154 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03062/0.6244, allocations: 12.73 MB / 0.5278 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001832/0.6247, allocations: 31.72 kB / 0.5278 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/0.6257, allocations: 163.8 kB / 0.528 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004788/0.6305, allocations: 2.758 MB / 0.5307 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02994/0.6605, allocations: 11.68 MB / 0.5421 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08681/0.7474, allocations: 40.56 MB / 0.5817 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.7595, allocations: 5.082 MB / 0.5867 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/0.7737, allocations: 6.897 MB / 0.5934 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.7738, allocations: 60.56 kB / 0.5935 GB, free: 3.621 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 6.051e-06/0.7739, allocations: 0 / 0.5935 GB, free: 3.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=244): time 0.04291/0.8168, allocations: 17.03 MB / 0.6101 GB, free: 2.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.8169, allocations: 73.41 kB / 0.6102 GB, free: 2.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006861/0.8237, allocations: 3.313 MB / 0.6134 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008685/0.8247, allocations: 57.7 kB / 0.6135 GB, free: 14.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003346/0.828, allocations: 3.301 MB / 0.6167 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00166/0.8297, allocations: 0.9097 MB / 0.6176 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.8301, allocations: 123.9 kB / 0.6177 GB, free: 10.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005464/0.8306, allocations: 0.5704 MB / 0.6182 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004212/0.8349, allocations: 2.401 MB / 0.6206 GB, free: 7.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007122/0.842, allocations: 5.776 MB / 0.6262 GB, free: 16 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3059/1.148, allocations: 3.712 MB / 0.6299 GB, free: 138.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/1.148, allocations: 32 kB / 0.6299 GB, free: 138.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.0244/1.172, allocations: 8.965 MB / 0.6386 GB, free: 137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/1.173, allocations: 56.19 kB / 0.6387 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/1.173, allocations: 118.3 kB / 0.6388 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/1.177, allocations: 1.15 MB / 0.6399 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005665/1.182, allocations: 1.386 MB / 0.6413 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/1.188, allocations: 4.662 MB / 0.6458 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/1.193, allocations: 328.7 kB / 0.6462 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/1.194, allocations: 350.8 kB / 0.6465 GB, free: 134 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (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 (752): * Single equations (assignments): 744 * 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.00595/1.2, allocations: 2.432 MB / 0.6489 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007861/1.201, allocations: 306.7 kB / 0.6492 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008607/1.209, allocations: 4.488 MB / 0.6535 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.378e-05/1.21, allocations: 50.61 kB / 0.6536 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/1.21, allocations: 10.55 kB / 0.6536 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/1.21, allocations: 9.844 kB / 0.6536 GB, free: 131.4 MB / 494.1 MB 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.02596/1.236, allocations: 10.77 MB / 0.6641 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.236, allocations: 9.688 kB / 0.6641 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/1.238, allocations: 392.9 kB / 0.6645 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002327/1.24, allocations: 0.6827 MB / 0.6652 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003351/1.24, allocations: 50.36 kB / 0.6652 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/1.243, allocations: 2.462 MB / 0.6676 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.243, allocations: 8.469 kB / 0.6676 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.254, allocations: 7.349 MB / 0.6748 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.256, allocations: 355 kB / 0.6752 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005096/1.256, allocations: 47.36 kB / 0.6752 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.258, allocations: 139.4 kB / 0.6753 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/1.258, allocations: 140 kB / 0.6755 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.258, allocations: 71.55 kB / 0.6755 GB, free: 122.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003594/1.262, allocations: 2.03 MB / 0.6775 GB, free: 121.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.262, allocations: 0 / 0.6775 GB, free: 121.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005741/1.267, allocations: 1.095 MB / 0.6786 GB, free: 120.3 MB / 494.1 MB 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 (197): * Single equations (assignments): 188 * 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.01123/1.279, allocations: 9.324 MB / 0.6877 GB, free: 111.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009977/1.289, allocations: 5.874 MB / 0.6934 GB, free: 106.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.289, allocations: 0.8125 kB / 0.6934 GB, free: 106.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004553/1.293, allocations: 2.442 MB / 0.6958 GB, free: 104.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/1.296, allocations: 424.7 kB / 0.6962 GB, free: 104 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1001/1.396, allocations: 116.3 MB / 0.8098 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00933/1.406, allocations: 3.865 MB / 0.8136 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007185/1.413, allocations: 2.056 MB / 0.8156 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005521/1.419, allocations: 2.152 MB / 0.8177 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of SimCode: time 2.324e-06/1.419, allocations: 0 / 0.8177 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4428/1.862, allocations: 77.09 MB / 0.893 GB, free: 135.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.862, allocations: 220.3 kB / 0.8932 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.099/5.961, allocations: 0 / 0.8932 GB, free: 134.8 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat