Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001509/0.001509, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001629/0.001628, allocations: 184.1 kB / 19.32 MB, free: 3.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.232/0.232, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.67 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1411, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01411/0.1553, allocations: 11.98 MB / 482.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009679/0.165, allocations: 4.359 MB / 487 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.1673, allocations: 71.81 kB / 487.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005291/0.1726, allocations: 2.764 MB / 489.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006547/0.1793, allocations: 2.042 MB / 491.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.1817, allocations: 1.002 MB / 492.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009518/0.1912, allocations: 5.294 MB / 498.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005816/0.1971, allocations: 3.436 MB / 0.4899 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/0.2019, allocations: 1.752 MB / 0.4916 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004954/0.2068, allocations: 2.446 MB / 0.494 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00158/0.2085, allocations: 368 kB / 0.4943 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.2119, allocations: 1.424 MB / 0.4957 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.215, allocations: 2.201 MB / 0.4979 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004018/0.2191, allocations: 2.493 MB / 0.5003 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2907/0.5098, allocations: 8.068 MB / 0.5082 GB, free: 24.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.5098, allocations: 2.062 kB / 0.5082 GB, free: 24.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.5099, allocations: 1.281 kB / 0.5082 GB, free: 24.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004257/0.5103, allocations: 0 / 0.5082 GB, free: 24.06 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02268/0.533, allocations: 5.744 MB / 0.5138 GB, free: 21.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.5331, allocations: 10.75 kB / 0.5138 GB, free: 21.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/0.5509, allocations: 2.59 MB / 0.5163 GB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.5622, allocations: 3.211 MB / 0.5195 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.5626, allocations: 258.1 kB / 0.5197 GB, free: 20.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002249/0.5648, allocations: 351.7 kB / 0.5201 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02807/0.5929, allocations: 12.36 MB / 0.5321 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.5932, allocations: 61.38 kB / 0.5322 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005186/0.5937, allocations: 165.6 kB / 0.5323 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00355/0.5972, allocations: 2.373 MB / 0.5347 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.6163, allocations: 10.85 MB / 0.5453 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06532/0.6817, allocations: 48.58 MB / 0.5927 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01661/0.6983, allocations: 6.046 MB / 0.5986 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005353/0.7037, allocations: 3.296 MB / 0.6018 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02896/0.7327, allocations: 13.52 MB / 0.615 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.511e-05/0.7328, allocations: 54.97 kB / 0.6151 GB, free: 14.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=204): time 6.342e-06/0.7328, allocations: 0 / 0.6151 GB, free: 14.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.1169/0.8498, allocations: 36.29 MB / 0.6505 GB, free: 9.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.8499, allocations: 209.4 kB / 0.6507 GB, free: 9.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006889/0.8568, allocations: 4.368 MB / 0.655 GB, free: 5.035 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008631/0.8577, allocations: 64.83 kB / 0.655 GB, free: 4.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002403/0.8601, allocations: 3.384 MB / 0.6584 GB, free: 1.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/0.8616, allocations: 0.9859 MB / 0.6593 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002194/0.8638, allocations: 1.412 MB / 0.6607 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8639, allocations: 301.1 kB / 0.661 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004842/0.8688, allocations: 3.285 MB / 0.6642 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0082/0.877, allocations: 7.203 MB / 0.6712 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/0.8921, allocations: 11.24 MB / 0.6822 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/0.8923, allocations: 40 kB / 0.6822 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.032/0.9243, allocations: 13.28 MB / 0.6952 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/0.9244, allocations: 67.94 kB / 0.6953 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/0.9246, allocations: 140 kB / 0.6954 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/0.9352, allocations: 3.403 MB / 0.6987 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005885/0.9411, allocations: 1.579 MB / 0.7003 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3169/1.258, allocations: 17.54 MB / 0.7174 GB, free: 180 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006523/1.265, allocations: 437.5 kB / 0.7178 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/1.266, allocations: 418.2 kB / 0.7182 GB, free: 179.8 MB / 0.5294 GB 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.004504/1.27, allocations: 2.344 MB / 0.7205 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009404/1.271, allocations: 399.1 kB / 0.7209 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.286, allocations: 8.006 MB / 0.7287 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-05/1.286, allocations: 33.14 kB / 0.7287 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.286, allocations: 11.53 kB / 0.7287 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.01e-05/1.286, allocations: 15.39 kB / 0.7288 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02805/1.314, allocations: 15.47 MB / 0.7439 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/1.314, allocations: 0 / 0.7439 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/1.316, allocations: 385.4 kB / 0.7442 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008189/1.324, allocations: 3.168 MB / 0.7473 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004854/1.324, allocations: 40 kB / 0.7474 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/1.343, allocations: 15.75 MB / 0.7627 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.343, allocations: 7 kB / 0.7627 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02164/1.365, allocations: 12.14 MB / 0.7746 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.367, allocations: 450.5 kB / 0.775 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00209/1.369, allocations: 44 kB / 0.7751 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004079/1.373, allocations: 188.5 kB / 0.7753 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/1.375, allocations: 150.1 kB / 0.7754 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005906/1.375, allocations: 67.98 kB / 0.7755 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006185/1.381, allocations: 2.733 MB / 0.7781 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.4e-07/1.382, allocations: 0 / 0.7781 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008376/1.39, allocations: 1.376 MB / 0.7795 GB, free: 131.7 MB / 0.5294 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.0008298/1.391, allocations: 177.4 kB / 0.7796 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.403, allocations: 8.218 MB / 0.7877 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.403, allocations: 0 / 0.7877 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004801/1.408, allocations: 3.317 MB / 0.7909 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.412, allocations: 0.5044 MB / 0.7914 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/1.435, allocations: 11.87 MB / 0.803 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004371/1.44, allocations: 3.666 MB / 0.8066 GB, free: 104 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004414/1.444, allocations: 2.176 MB / 0.8087 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009093/1.445, allocations: 287.4 kB / 0.809 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/1.445, allocations: 0 / 0.809 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.08549/1.53, allocations: 54.69 MB / 0.8624 GB, free: 47.24 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches