Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 204.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.649/1.649, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2832/0.2832, allocations: 46.96 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 0.4966 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3412, allocations: 66.04 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.0137/0.3549, allocations: 10.44 MB / 0.5713 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009626/0.3646, allocations: 4.184 MB / 0.5754 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.3668, allocations: 83.62 kB / 0.5755 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005994/0.3728, allocations: 2.698 MB / 0.5781 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006092/0.3789, allocations: 2.07 MB / 0.5801 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.3815, allocations: 1.006 MB / 0.5811 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00812/0.3896, allocations: 5.373 MB / 0.5863 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003778/0.3934, allocations: 2.88 MB / 0.5892 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.396, allocations: 1.783 MB / 0.5909 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004014/0.4001, allocations: 2.648 MB / 0.5935 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008619/0.4009, allocations: 368 kB / 0.5938 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.4035, allocations: 1.315 MB / 0.5951 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.4059, allocations: 2.24 MB / 0.5973 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002654/0.4085, allocations: 1.836 MB / 0.5991 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.4195, allocations: 8.076 MB / 0.607 GB, free: 4.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4195, allocations: 0 / 0.607 GB, free: 4.934 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4195, allocations: 0 / 0.607 GB, free: 4.934 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002514/0.4197, allocations: 0 / 0.607 GB, free: 4.934 MB / 446.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.01593/0.4357, allocations: 5.798 MB / 0.6126 GB, free: 15.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4357, allocations: 8.031 kB / 0.6127 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01673/0.4524, allocations: 2.626 MB / 0.6152 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008655/0.4611, allocations: 3.111 MB / 0.6183 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.4613, allocations: 250.8 kB / 0.6185 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.4624, allocations: 351.9 kB / 0.6188 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/0.4878, allocations: 12.46 MB / 0.631 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002343/0.4881, allocations: 55.58 kB / 0.6311 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007103/0.4888, allocations: 175.8 kB / 0.6312 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005102/0.4939, allocations: 2.369 MB / 0.6335 GB, free: 8.785 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.5185, allocations: 10.81 MB / 0.6441 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06995/0.5885, allocations: 45.34 MB / 0.6884 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01617/0.6046, allocations: 5.332 MB / 0.6936 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004346/0.609, allocations: 3.012 MB / 0.6965 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02233/0.6313, allocations: 11.69 MB / 0.7079 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/0.6314, allocations: 55.88 kB / 0.708 GB, free: 11.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 5.3e-06/0.6314, allocations: 11.88 kB / 0.708 GB, free: 11.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.4107/1.042, allocations: 36.16 MB / 0.7433 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/1.042, allocations: 205.4 kB / 0.7435 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006568/1.049, allocations: 4.057 MB / 0.7475 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000685/1.049, allocations: 61.02 kB / 0.7475 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002033/1.051, allocations: 3.543 MB / 0.751 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/1.053, allocations: 1.026 MB / 0.752 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/1.055, allocations: 1.428 MB / 0.7534 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.678e-05/1.055, allocations: 301.1 kB / 0.7537 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/1.059, allocations: 3.282 MB / 0.7569 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006106/1.065, allocations: 7.249 MB / 0.764 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.075, allocations: 11.22 MB / 0.7749 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.075, allocations: 44 kB / 0.775 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02392/1.099, allocations: 13.19 MB / 0.7878 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/1.099, allocations: 64 kB / 0.7879 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/1.1, allocations: 136 kB / 0.788 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009414/1.109, allocations: 3.4 MB / 0.7914 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005593/1.115, allocations: 1.571 MB / 0.7929 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/1.134, allocations: 16.89 MB / 0.8094 GB, free: 91.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006207/1.14, allocations: 431.5 kB / 0.8098 GB, free: 90.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/1.142, allocations: 415.4 kB / 0.8102 GB, free: 90.41 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 (839): * Single equations (assignments): 835 * 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 {(4,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004538/1.146, allocations: 2.337 MB / 0.8125 GB, free: 88.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.147, allocations: 393.5 kB / 0.8128 GB, free: 87.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/1.162, allocations: 7.923 MB / 0.8206 GB, free: 79.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.568e-05/1.162, allocations: 31.83 kB / 0.8206 GB, free: 79.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/1.162, allocations: 8 kB / 0.8206 GB, free: 79.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-05/1.162, allocations: 19.89 kB / 0.8206 GB, free: 79.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02871/1.19, allocations: 13.85 MB / 0.8342 GB, free: 65.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.704e-05/1.19, allocations: 0 / 0.8342 GB, free: 65.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/1.193, allocations: 387.4 kB / 0.8345 GB, free: 65.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009144/1.202, allocations: 3.158 MB / 0.8376 GB, free: 62.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005663/1.203, allocations: 45.39 kB / 0.8377 GB, free: 62.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/1.221, allocations: 15.5 MB / 0.8528 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.221, allocations: 3.984 kB / 0.8528 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/1.24, allocations: 12.08 MB / 0.8646 GB, free: 34.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.241, allocations: 345.4 kB / 0.8649 GB, free: 34.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/1.242, allocations: 43.98 kB / 0.865 GB, free: 34.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.244, allocations: 193.4 kB / 0.8652 GB, free: 33.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006025/1.245, allocations: 166 kB / 0.8653 GB, free: 33.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/1.245, allocations: 64 kB / 0.8654 GB, free: 33.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003644/1.249, allocations: 2.345 MB / 0.8677 GB, free: 31.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.249, allocations: 0 / 0.8677 GB, free: 31.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006829/1.256, allocations: 1.336 MB / 0.869 GB, free: 30.06 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.0007125/1.256, allocations: 186.7 kB / 0.8691 GB, free: 29.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.268, allocations: 7.682 MB / 0.8767 GB, free: 22.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.268, allocations: 0 / 0.8767 GB, free: 22.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00445/1.272, allocations: 3.064 MB / 0.8796 GB, free: 19.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/1.275, allocations: 442.6 kB / 0.8801 GB, free: 18.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/1.296, allocations: 12.06 MB / 0.8918 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003957/1.3, allocations: 3.134 MB / 0.8949 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004334/1.304, allocations: 2.13 MB / 0.897 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009396/1.305, allocations: 267.4 kB / 0.8972 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/1.305, allocations: 0 / 0.8972 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of Templates: time 0.118/1.423, allocations: 61.94 MB / 0.9577 GB, free: 3.574 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.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: 8.26381834410131]