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.001274/0.001275, allocations: 110.4 kB / 17.78 MB, free: 5.312 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.00118/0.00118, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.506/1.506, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2452/0.2452, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 63.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4992/0.5005, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01495/0.5155, allocations: 11.97 MB / 0.5306 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.5289, allocations: 4.373 MB / 0.5349 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003768/0.5327, allocations: 72.06 kB / 0.5349 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007291/0.54, allocations: 2.764 MB / 0.5376 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009291/0.5495, allocations: 2.04 MB / 0.5396 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.5536, allocations: 0.9977 MB / 0.5406 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01134/0.565, allocations: 5.286 MB / 0.5458 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005695/0.5707, allocations: 3.436 MB / 0.5491 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.5749, allocations: 1.764 MB / 0.5508 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.5795, allocations: 2.449 MB / 0.5532 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001364/0.5809, allocations: 372 kB / 0.5536 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.5846, allocations: 1.42 MB / 0.555 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002889/0.5875, allocations: 2.213 MB / 0.5571 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.5916, allocations: 2.493 MB / 0.5596 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.6035, allocations: 8.08 MB / 0.5675 GB, free: 10.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.6035, allocations: 4 kB / 0.5675 GB, free: 10.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.6035, allocations: 0 / 0.5675 GB, free: 10.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002913/0.6038, allocations: 0 / 0.5675 GB, free: 10.2 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.0184/0.6222, allocations: 5.749 MB / 0.5731 GB, free: 4.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.277e-05/0.6223, allocations: 8.031 kB / 0.5731 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.6386, allocations: 2.588 MB / 0.5756 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008193/0.6469, allocations: 3.213 MB / 0.5788 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.6471, allocations: 254.8 kB / 0.579 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.6484, allocations: 351.8 kB / 0.5793 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.6716, allocations: 12.36 MB / 0.5914 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.6718, allocations: 51.44 kB / 0.5915 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004798/0.6723, allocations: 163.8 kB / 0.5916 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003916/0.6762, allocations: 2.377 MB / 0.5939 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02423/0.7005, allocations: 10.84 MB / 0.6045 GB, free: 3.293 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06625/0.7667, allocations: 48.61 MB / 0.652 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.7823, allocations: 6.033 MB / 0.6579 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004551/0.7869, allocations: 3.303 MB / 0.6611 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02291/0.8098, allocations: 13.51 MB / 0.6743 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/0.81, allocations: 59.81 kB / 0.6743 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=204): time 7.173e-06/0.81, allocations: 0 / 0.6743 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=265): time 0.1061/0.9161, allocations: 36.31 MB / 0.7098 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.9163, allocations: 210.1 kB / 0.71 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007698/0.924, allocations: 4.373 MB / 0.7143 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/0.9251, allocations: 65.7 kB / 0.7143 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.4001/1.325, allocations: 3.372 MB / 0.7176 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001544/1.327, allocations: 0.9827 MB / 0.7186 GB, free: 170 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002493/1.329, allocations: 1.423 MB / 0.72 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.532e-05/1.329, allocations: 305.1 kB / 0.7203 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005174/1.335, allocations: 3.285 MB / 0.7235 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007114/1.342, allocations: 7.196 MB / 0.7305 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/1.355, allocations: 11.24 MB / 0.7415 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001921/1.355, allocations: 40.75 kB / 0.7415 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02443/1.379, allocations: 13.27 MB / 0.7545 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.935e-05/1.38, allocations: 64 kB / 0.7545 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/1.38, allocations: 139.9 kB / 0.7547 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008764/1.389, allocations: 3.399 MB / 0.758 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005336/1.394, allocations: 1.583 MB / 0.7595 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/1.414, allocations: 17.54 MB / 0.7767 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00614/1.42, allocations: 431.5 kB / 0.7771 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.421, allocations: 412 kB / 0.7775 GB, free: 125.2 MB / 0.5606 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.003683/1.425, allocations: 2.344 MB / 0.7798 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007642/1.426, allocations: 414.7 kB / 0.7802 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/1.439, allocations: 7.998 MB / 0.788 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/1.439, allocations: 28 kB / 0.788 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/1.439, allocations: 12 kB / 0.788 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.624e-05/1.439, allocations: 11.95 kB / 0.788 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02359/1.463, allocations: 15.39 MB / 0.8031 GB, free: 98.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-05/1.463, allocations: 0 / 0.8031 GB, free: 98.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.465, allocations: 387.4 kB / 0.8034 GB, free: 98.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008506/1.474, allocations: 3.161 MB / 0.8065 GB, free: 95.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005988/1.474, allocations: 47.98 kB / 0.8066 GB, free: 95.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/1.492, allocations: 15.81 MB / 0.822 GB, free: 79.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.492, allocations: 4 kB / 0.822 GB, free: 79.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/1.51, allocations: 12.14 MB / 0.8338 GB, free: 67.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.511, allocations: 451.8 kB / 0.8343 GB, free: 66.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007155/1.512, allocations: 43.98 kB / 0.8343 GB, free: 66.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.514, allocations: 191.7 kB / 0.8345 GB, free: 66.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005662/1.514, allocations: 154.2 kB / 0.8346 GB, free: 66.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/1.514, allocations: 71.3 kB / 0.8347 GB, free: 66.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003306/1.518, allocations: 2.737 MB / 0.8374 GB, free: 63.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/1.518, allocations: 0 / 0.8374 GB, free: 63.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005582/1.523, allocations: 1.371 MB / 0.8387 GB, free: 62.19 MB / 0.5606 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.0005076/1.524, allocations: 181.3 kB / 0.8389 GB, free: 62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.535, allocations: 8.204 MB / 0.8469 GB, free: 53.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/1.535, allocations: 320 / 0.8469 GB, free: 53.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00512/1.54, allocations: 3.317 MB / 0.8502 GB, free: 50.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004274/1.545, allocations: 0.5124 MB / 0.8507 GB, free: 49.99 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/1.564, allocations: 11.86 MB / 0.8622 GB, free: 38.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00392/1.568, allocations: 3.67 MB / 0.8658 GB, free: 34.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004806/1.573, allocations: 2.176 MB / 0.8679 GB, free: 32.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.574, allocations: 279.4 kB / 0.8682 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/1.574, allocations: 0 / 0.8682 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.09852/1.673, allocations: 57.45 MB / 0.9243 GB, free: 6.828 MB / 0.5919 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/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