Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002885/0.002885, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.95 MB / 360.8 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] 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.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 79.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3496, allocations: 66.08 MB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009683/0.3593, allocations: 6.741 MB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.3649, allocations: 2.439 MB / 0.5697 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.3657, allocations: 39.88 kB / 0.5697 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.3679, allocations: 0.8759 MB / 0.5706 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009728/0.3689, allocations: 322.3 kB / 0.5709 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.3699, allocations: 323.3 kB / 0.5712 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.3711, allocations: 0.7239 MB / 0.5719 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.3721, allocations: 0.6462 MB / 0.5725 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005906/0.3727, allocations: 366.6 kB / 0.5729 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.3738, allocations: 0.6542 MB / 0.5735 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.374, allocations: 104 kB / 0.5736 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009115/0.3749, allocations: 0.5108 MB / 0.5741 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000558/0.3755, allocations: 0.4986 MB / 0.5746 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.376, allocations: 449.5 kB / 0.575 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.3785, allocations: 1.794 MB / 0.5768 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.3785, allocations: 8 kB / 0.5768 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3785, allocations: 0 / 0.5768 GB, free: 3.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.329e-05/0.3786, allocations: 0 / 0.5768 GB, free: 3.469 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004018/0.3826, allocations: 1.573 MB / 0.5783 GB, free: 1.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3826, allocations: 8.031 kB / 0.5783 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/0.3829, allocations: 190.5 kB / 0.5785 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/0.3837, allocations: 171.9 kB / 0.5787 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.3852, allocations: 0.5717 MB / 0.5792 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.3853, allocations: 66.09 kB / 0.5793 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.3855, allocations: 79.95 kB / 0.5794 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005615/0.3912, allocations: 2.665 MB / 0.582 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.3912, allocations: 11.94 kB / 0.582 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.3913, allocations: 39.97 kB / 0.582 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005223/0.3918, allocations: 377.7 kB / 0.5824 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005559/0.3974, allocations: 2.357 MB / 0.5847 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.4075, allocations: 7.898 MB / 0.5924 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/0.4114, allocations: 0.9487 MB / 0.5933 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.4118, allocations: 232.7 kB / 0.5935 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.413, allocations: 0.62 MB / 0.5941 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.413, allocations: 34.56 kB / 0.5942 GB, free: 1.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.405e-06/0.413, allocations: 4 kB / 0.5942 GB, free: 1.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01172/0.4247, allocations: 2.967 MB / 0.5971 GB, free: 14.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.4248, allocations: 59.91 kB / 0.5971 GB, free: 14.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.4262, allocations: 0.93 MB / 0.598 GB, free: 13.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.4262, allocations: 37.7 kB / 0.5981 GB, free: 13.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006168/0.4269, allocations: 0.6745 MB / 0.5987 GB, free: 12.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.4271, allocations: 230.1 kB / 0.5989 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.4274, allocations: 246.8 kB / 0.5992 GB, free: 11.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.4277, allocations: 402.7 kB / 0.5996 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.4283, allocations: 370.4 kB / 0.5999 GB, free: 11.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.4295, allocations: 0.9952 MB / 0.6009 GB, free: 9.883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.4313, allocations: 1.494 MB / 0.6024 GB, free: 8.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.4314, allocations: 4 kB / 0.6024 GB, free: 8.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00221/0.4336, allocations: 1.403 MB / 0.6037 GB, free: 6.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.4336, allocations: 15.94 kB / 0.6037 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.4336, allocations: 24.88 kB / 0.6038 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.5e-05/0.4337, allocations: 28 kB / 0.6038 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4349, allocations: 327.5 kB / 0.6041 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.436, allocations: 1.34 MB / 0.6054 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006623/0.4367, allocations: 55.98 kB / 0.6055 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.4368, allocations: 76.03 kB / 0.6055 GB, free: 4.695 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007189/0.4375, allocations: 0.4893 MB / 0.606 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.4376, allocations: 91.39 kB / 0.6061 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.4378, allocations: 116.5 kB / 0.6062 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4378, allocations: 4 kB / 0.6062 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4378, allocations: 0 / 0.6062 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.4378, allocations: 7.984 kB / 0.6062 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.4419, allocations: 2.069 MB / 0.6082 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.4419, allocations: 8.75 kB / 0.6083 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.4425, allocations: 127.8 kB / 0.6084 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/0.4425, allocations: 11.98 kB / 0.6084 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.4425, allocations: 20 kB / 0.6084 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.4437, allocations: 1.311 MB / 0.6097 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/0.4437, allocations: 11.94 kB / 0.6097 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.445, allocations: 0.8296 MB / 0.6105 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.4453, allocations: 91.38 kB / 0.6106 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4454, allocations: 27.92 kB / 0.6106 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.4457, allocations: 12 kB / 0.6106 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.4458, allocations: 59.73 kB / 0.6107 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.4459, allocations: 24 kB / 0.6107 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.4469, allocations: 0.5927 MB / 0.6113 GB, free: 14.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4469, allocations: 0 / 0.6113 GB, free: 14.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001237/0.4481, allocations: 216 kB / 0.6115 GB, free: 14.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/0.4498, allocations: 1.405 MB / 0.6129 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.4512, allocations: 0.8389 MB / 0.6137 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.4512, allocations: 4.062 kB / 0.6137 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004464/0.4517, allocations: 263.5 kB / 0.6139 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/0.4525, allocations: 134.7 kB / 0.6141 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.4663, allocations: 9.42 MB / 0.6233 GB, free: 1.184 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009601/0.4673, allocations: 0.6165 MB / 0.6239 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009044/0.4682, allocations: 339.6 kB / 0.6242 GB, free: 204 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/0.4688, allocations: 403.4 kB / 0.6246 GB, free: 15.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.913e-06/0.4688, allocations: 4 kB / 0.6246 GB, free: 15.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05446/0.5232, allocations: 18.1 MB / 0.6423 GB, free: 13.94 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.98, allocations: 19.91 kB / 0.6423 GB, free: 13.92 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.138019137084484]