Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 110 kB / 17.04 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001093, allocations: 194.1 kB / 17.98 MB, free: 4.898 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.412/1.412, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2125/0.2125, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 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.001476/0.001476, allocations: 75.52 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 57.78 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01113/0.1214, allocations: 12.02 MB / 454 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008977/0.1304, allocations: 4.383 MB / 458.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.1325, allocations: 71.81 kB / 458.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005285/0.1378, allocations: 2.764 MB / 461.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005546/0.1434, allocations: 2.031 MB / 463.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.1458, allocations: 1.014 MB / 464.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009248/0.1551, allocations: 5.135 MB / 469.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005436/0.1606, allocations: 3.44 MB / 472.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.1643, allocations: 1.76 MB / 474.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.1687, allocations: 2.457 MB / 477 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.1702, allocations: 368 kB / 477.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.1733, allocations: 1.408 MB / 478.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.176, allocations: 2.205 MB / 481 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003204/0.1792, allocations: 2.509 MB / 483.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009395/0.1886, allocations: 8.078 MB / 491.6 MB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1887, allocations: 3.938 kB / 491.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1887, allocations: 3.938 kB / 491.6 MB, free: 4.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002092/0.1889, allocations: 0 / 491.6 MB, free: 4.305 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01324/0.2021, allocations: 5.749 MB / 497.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2022, allocations: 11.89 kB / 497.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/0.2181, allocations: 2.599 MB / 500 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008202/0.2264, allocations: 3.311 MB / 0.4915 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.2266, allocations: 258.8 kB / 0.4917 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.2279, allocations: 351.8 kB / 0.4921 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.2542, allocations: 12.36 MB / 0.5041 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002135/0.2545, allocations: 51.53 kB / 0.5042 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005392/0.255, allocations: 167.8 kB / 0.5043 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004099/0.2591, allocations: 2.385 MB / 0.5067 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/0.2816, allocations: 10.83 MB / 0.5173 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3152/0.5969, allocations: 48.59 MB / 0.5647 GB, free: 51.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/0.6112, allocations: 6.048 MB / 0.5706 GB, free: 49.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.6147, allocations: 3.305 MB / 0.5738 GB, free: 48.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/0.6308, allocations: 13.52 MB / 0.587 GB, free: 39.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.6309, allocations: 58.09 kB / 0.5871 GB, free: 39.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=204): time 6.432e-06/0.6309, allocations: 0 / 0.5871 GB, free: 39.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=265): time 0.09348/0.7244, allocations: 36.34 MB / 0.6226 GB, free: 4.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.7246, allocations: 205.9 kB / 0.6228 GB, free: 3.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/0.7302, allocations: 4.389 MB / 0.6271 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007673/0.731, allocations: 61.7 kB / 0.6271 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/0.7336, allocations: 3.375 MB / 0.6304 GB, free: 12.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/0.7351, allocations: 0.9969 MB / 0.6314 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002103/0.7372, allocations: 1.412 MB / 0.6328 GB, free: 9.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.7373, allocations: 305.1 kB / 0.6331 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004825/0.7421, allocations: 3.285 MB / 0.6363 GB, free: 6.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00811/0.7502, allocations: 7.2 MB / 0.6433 GB, free: 12.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01976/0.77, allocations: 11.25 MB / 0.6543 GB, free: 15.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001695/0.7703, allocations: 40 kB / 0.6543 GB, free: 15.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03859/0.8089, allocations: 13.28 MB / 0.6673 GB, free: 2.426 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.8092, allocations: 68.25 kB / 0.6674 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002737/0.8094, allocations: 136 kB / 0.6675 GB, free: 2.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01334/0.8228, allocations: 3.399 MB / 0.6708 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006015/0.8289, allocations: 1.575 MB / 0.6723 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02916/0.8581, allocations: 17.55 MB / 0.6895 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008356/0.8665, allocations: 431.4 kB / 0.6899 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00194/0.8685, allocations: 423.5 kB / 0.6903 GB, free: 10.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005844/0.8743, allocations: 2.353 MB / 0.6926 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/0.8756, allocations: 406.8 kB / 0.693 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01753/0.8931, allocations: 8.006 MB / 0.7008 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.159e-05/0.8932, allocations: 28 kB / 0.7008 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.33e-05/0.8933, allocations: 8 kB / 0.7008 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.973e-05/0.8934, allocations: 15.95 kB / 0.7009 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03538/0.9287, allocations: 15.47 MB / 0.716 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/0.9288, allocations: 4 kB / 0.716 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/0.9311, allocations: 383.5 kB / 0.7163 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2568/1.188, allocations: 3.157 MB / 0.7194 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008941/1.189, allocations: 44.88 kB / 0.7195 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/1.212, allocations: 15.76 MB / 0.7348 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.212, allocations: 6.062 kB / 0.7349 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/1.232, allocations: 12.13 MB / 0.7467 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003363/1.236, allocations: 0.9401 MB / 0.7476 GB, free: 156.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009879/1.237, allocations: 45.19 kB / 0.7477 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/1.239, allocations: 185.5 kB / 0.7478 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006758/1.24, allocations: 152.5 kB / 0.748 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.24, allocations: 69.62 kB / 0.748 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003624/1.243, allocations: 2.756 MB / 0.7507 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.243, allocations: 0 / 0.7507 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006087/1.25, allocations: 1.367 MB / 0.7521 GB, free: 154.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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): 193 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005699/1.25, allocations: 172.2 kB / 0.7522 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.262, allocations: 8.222 MB / 0.7603 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.262, allocations: 0 / 0.7603 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00434/1.266, allocations: 3.317 MB / 0.7635 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/1.27, allocations: 0.5009 MB / 0.764 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.286, allocations: 11.9 MB / 0.7756 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003139/1.289, allocations: 3.675 MB / 0.7792 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004532/1.293, allocations: 2.179 MB / 0.7813 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008577/1.294, allocations: 287.4 kB / 0.7816 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/1.294, allocations: 0 / 0.7816 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.08188/1.376, allocations: 54.76 MB / 0.8351 GB, free: 69.85 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches