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.001588/0.001588, allocations: 107.5 kB / 17.03 MB, free: 5.66 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.001525/0.001525, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.703/1.703, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2412/0.2412, allocations: 43.52 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.001746/0.001746, allocations: 69.08 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1404, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01568/0.1562, allocations: 12.02 MB / 454 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.168, allocations: 4.379 MB / 458.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.1713, allocations: 71.81 kB / 458.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006394/0.1777, allocations: 2.76 MB / 461.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007732/0.1855, allocations: 2.035 MB / 463.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.1889, allocations: 1.014 MB / 464.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009737/0.1987, allocations: 5.139 MB / 469.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006932/0.2056, allocations: 3.436 MB / 472.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.2104, allocations: 1.768 MB / 474.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005019/0.2155, allocations: 2.453 MB / 477 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.2177, allocations: 368 kB / 477.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.2222, allocations: 1.404 MB / 478.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00472/0.227, allocations: 2.209 MB / 481 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006423/0.2334, allocations: 2.505 MB / 483.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.2466, allocations: 8.082 MB / 491.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2467, allocations: 0 / 491.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2467, allocations: 0 / 491.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002829/0.247, allocations: 3.938 kB / 491.6 MB, free: 4.297 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.01475/0.2617, allocations: 5.753 MB / 497.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.2618, allocations: 11.89 kB / 497.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01521/0.277, allocations: 2.599 MB / 500 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009474/0.2866, allocations: 3.307 MB / 0.4915 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.2869, allocations: 258.8 kB / 0.4917 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001839/0.2887, allocations: 351.8 kB / 0.4921 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02482/0.3136, allocations: 12.36 MB / 0.5041 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.3138, allocations: 55.52 kB / 0.5042 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005557/0.3144, allocations: 163.8 kB / 0.5043 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003946/0.3183, allocations: 2.385 MB / 0.5067 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/0.3424, allocations: 10.84 MB / 0.5172 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3541/0.6966, allocations: 48.59 MB / 0.5647 GB, free: 51.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/0.7121, allocations: 6.047 MB / 0.5706 GB, free: 49.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/0.7158, allocations: 3.305 MB / 0.5738 GB, free: 48.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01832/0.7342, allocations: 13.52 MB / 0.587 GB, free: 39.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.083e-05/0.7343, allocations: 60.31 kB / 0.5871 GB, free: 39.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=204): time 7.174e-06/0.7343, allocations: 0 / 0.5871 GB, free: 39.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=265): time 0.09314/0.8275, allocations: 36.33 MB / 0.6226 GB, free: 4.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.8277, allocations: 205.9 kB / 0.6228 GB, free: 3.859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007696/0.8354, allocations: 4.385 MB / 0.6271 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009157/0.8364, allocations: 65.69 kB / 0.6271 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003318/0.8397, allocations: 3.381 MB / 0.6304 GB, free: 12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002159/0.8419, allocations: 0.9873 MB / 0.6314 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00241/0.8443, allocations: 1.42 MB / 0.6328 GB, free: 9.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8445, allocations: 305.1 kB / 0.6331 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005185/0.8497, allocations: 3.285 MB / 0.6363 GB, free: 6.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008844/0.8585, allocations: 7.196 MB / 0.6433 GB, free: 12.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01522/0.8738, allocations: 11.24 MB / 0.6543 GB, free: 15.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/0.874, allocations: 40 kB / 0.6543 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03251/0.9065, allocations: 13.28 MB / 0.6673 GB, free: 2.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.9068, allocations: 64 kB / 0.6673 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003005/0.9071, allocations: 136 kB / 0.6675 GB, free: 2.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/0.9181, allocations: 3.398 MB / 0.6708 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/0.9241, allocations: 1.575 MB / 0.6723 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/0.9548, allocations: 17.56 MB / 0.6895 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008364/0.9632, allocations: 431.3 kB / 0.6899 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/0.9652, allocations: 415.2 kB / 0.6903 GB, free: 10.72 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.005925/0.9712, allocations: 2.353 MB / 0.6926 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/0.9725, allocations: 402.8 kB / 0.693 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/0.9895, allocations: 8.002 MB / 0.7008 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.655e-05/0.9897, allocations: 28 kB / 0.7008 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/0.9897, allocations: 15.98 kB / 0.7008 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.421e-05/0.9898, allocations: 12.19 kB / 0.7008 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03114/1.021, allocations: 15.48 MB / 0.716 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-05/1.021, allocations: 0 / 0.716 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.023, allocations: 387.4 kB / 0.7163 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.304/1.327, allocations: 3.163 MB / 0.7194 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006704/1.328, allocations: 45.25 kB / 0.7195 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/1.352, allocations: 15.75 MB / 0.7348 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.352, allocations: 3.938 kB / 0.7348 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/1.371, allocations: 12.14 MB / 0.7467 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/1.374, allocations: 0.9471 MB / 0.7476 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006635/1.375, allocations: 38.86 kB / 0.7477 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.377, allocations: 189.5 kB / 0.7478 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005986/1.377, allocations: 155.9 kB / 0.748 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/1.378, allocations: 73.38 kB / 0.7481 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003598/1.381, allocations: 2.749 MB / 0.7507 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.381, allocations: 0 / 0.7507 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005763/1.387, allocations: 1.362 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.000514/1.387, allocations: 185.6 kB / 0.7522 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.398, allocations: 8.21 MB / 0.7603 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.398, allocations: 0 / 0.7603 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004292/1.403, allocations: 3.318 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.003166/1.406, allocations: 0.4995 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.01835/1.424, allocations: 11.9 MB / 0.7756 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003814/1.428, allocations: 3.679 MB / 0.7792 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005671/1.434, allocations: 2.183 MB / 0.7813 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.435, allocations: 287.4 kB / 0.7816 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/1.435, allocations: 3.938 kB / 0.7816 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.08514/1.52, allocations: 54.75 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 cvode -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