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.001894/0.001894, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002289/0.002289, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 87.84 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3255, allocations: 62.43 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01593/0.3415, allocations: 12.65 MB / 0.543 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009266/0.3508, allocations: 4.06 MB / 0.5469 GB, free: 312 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.3525, allocations: 69.34 kB / 0.547 GB, free: 300 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003557/0.3561, allocations: 1.837 MB / 0.5488 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/0.3602, allocations: 1.766 MB / 0.5505 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3614, allocations: 491 kB / 0.551 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005153/0.3666, allocations: 3.775 MB / 0.5547 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.3702, allocations: 2.864 MB / 0.5575 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.3722, allocations: 1.327 MB / 0.5588 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.3748, allocations: 1.873 MB / 0.5606 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006284/0.3755, allocations: 284 kB / 0.5609 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.3778, allocations: 1.096 MB / 0.5619 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.3797, allocations: 1.738 MB / 0.5636 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002509/0.3822, allocations: 2.069 MB / 0.5657 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008516/0.3907, allocations: 6.917 MB / 0.5724 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3908, allocations: 0 / 0.5724 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3908, allocations: 0 / 0.5724 GB, free: 6.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001636/0.3909, allocations: 0 / 0.5724 GB, free: 6.738 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1622 * Number of variables: 1622 Notification: Performance of Generate backend data structure: time 0.01147/0.4024, allocations: 4.918 MB / 0.5772 GB, free: 1.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4025, allocations: 8.031 kB / 0.5772 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001148/0.4036, allocations: 0.7575 MB / 0.578 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.4147, allocations: 3.145 MB / 0.581 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/0.4204, allocations: 2.271 MB / 0.5833 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.4207, allocations: 217.8 kB / 0.5835 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/0.4221, allocations: 295.7 kB / 0.5838 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/0.4409, allocations: 10.95 MB / 0.5944 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.146e-05/0.441, allocations: 31.77 kB / 0.5945 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/0.4415, allocations: 127.8 kB / 0.5946 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004321/0.4458, allocations: 2.511 MB / 0.597 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/0.4659, allocations: 10.28 MB / 0.6071 GB, free: 2.629 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05213/0.5181, allocations: 34.96 MB / 0.6412 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008464/0.5266, allocations: 4.292 MB / 0.6454 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003223/0.5298, allocations: 2.114 MB / 0.6475 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.5313, allocations: 1.319 MB / 0.6488 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.5314, allocations: 52.5 kB / 0.6488 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 5.22e-06/0.5314, allocations: 0 / 0.6488 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.04011/0.5715, allocations: 13.7 MB / 0.6622 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.5716, allocations: 77.34 kB / 0.6623 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/0.5756, allocations: 2.759 MB / 0.665 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002492/0.5758, allocations: 61.7 kB / 0.665 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002373/0.5782, allocations: 2.948 MB / 0.6679 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.5793, allocations: 0.9843 MB / 0.6689 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/0.5809, allocations: 1.136 MB / 0.67 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5811, allocations: 305.1 kB / 0.6703 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003474/0.5845, allocations: 2.299 MB / 0.6725 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006157/0.5907, allocations: 5.391 MB / 0.6778 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/0.6025, allocations: 8.446 MB / 0.686 GB, free: 13.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.416e-05/0.6027, allocations: 28 kB / 0.6861 GB, free: 13.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01728/0.62, allocations: 8.43 MB / 0.6943 GB, free: 4.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.372e-05/0.6201, allocations: 52 kB / 0.6943 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/0.6202, allocations: 104 kB / 0.6944 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003917/0.6241, allocations: 1.029 MB / 0.6954 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00436/0.6285, allocations: 1.294 MB / 0.6967 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.6318, allocations: 2.601 MB / 0.6992 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/0.6352, allocations: 307.8 kB / 0.6995 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005373/0.6358, allocations: 328 kB / 0.6998 GB, free: 15.02 MB / 0.5606 GB 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.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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003556/0.6394, allocations: 2.178 MB / 0.702 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005897/0.64, allocations: 294 kB / 0.7023 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.6502, allocations: 4.963 MB / 0.7071 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.116e-05/0.6503, allocations: 47.92 kB / 0.7071 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.6503, allocations: 0 / 0.7071 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/0.6503, allocations: 7.969 kB / 0.7072 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.6717, allocations: 11.22 MB / 0.7181 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.6718, allocations: 8 kB / 0.7181 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/0.6736, allocations: 411.4 kB / 0.7185 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/0.6773, allocations: 0.9037 MB / 0.7194 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.6776, allocations: 63.95 kB / 0.7195 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002973/0.6805, allocations: 2.406 MB / 0.7218 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.6806, allocations: 16 kB / 0.7218 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.6932, allocations: 7.387 MB / 0.729 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/0.694, allocations: 335.2 kB / 0.7294 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004387/0.6944, allocations: 55.92 kB / 0.7294 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.6957, allocations: 135.8 kB / 0.7295 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2505/0.9462, allocations: 155.9 kB / 0.7297 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003056/0.9466, allocations: 76.48 kB / 0.7298 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00357/0.9502, allocations: 1.695 MB / 0.7314 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9502, allocations: 0 / 0.7314 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004507/0.9547, allocations: 0.947 MB / 0.7323 GB, free: 176.5 MB / 0.5762 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01201/0.9667, allocations: 8.051 MB / 0.7402 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008718/0.9755, allocations: 6.082 MB / 0.7461 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.9755, allocations: 0 / 0.7461 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003825/0.9794, allocations: 2.567 MB / 0.7486 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.9817, allocations: 458.4 kB / 0.7491 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05161/1.033, allocations: 42.85 MB / 0.7909 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003446/1.037, allocations: 3.378 MB / 0.7942 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0037/1.041, allocations: 2.041 MB / 0.7962 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/1.043, allocations: 1.858 MB / 0.798 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/1.043, allocations: 0 / 0.798 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09226/1.135, allocations: 58.38 MB / 0.8551 GB, free: 61.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.13/18.26, allocations: 14.52 kB / 0.8551 GB, free: 61.75 MB / 0.5762 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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches