Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001343/0.001343, 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.001437/0.001437, allocations: 203.3 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.609/1.609, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2396/0.2396, allocations: 46.95 MB / 360.9 MB, free: 4.059 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 75.88 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4057, allocations: 66.03 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01832/0.424, allocations: 13.9 MB / 0.5746 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.4375, allocations: 5.215 MB / 0.5797 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.4407, allocations: 127.4 kB / 0.5799 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.4511, allocations: 4.981 MB / 0.5847 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007869/0.459, allocations: 2.685 MB / 0.5873 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.4627, allocations: 1.396 MB / 0.5887 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01319/0.4759, allocations: 8.263 MB / 0.5968 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008605/0.4845, allocations: 5.203 MB / 0.6019 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006036/0.4905, allocations: 2.824 MB / 0.6046 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008499/0.499, allocations: 4.023 MB / 0.6085 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00294/0.502, allocations: 0.6328 MB / 0.6092 GB, free: 2.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.5069, allocations: 1.686 MB / 0.6108 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005787/0.5127, allocations: 3.425 MB / 0.6142 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007067/0.5198, allocations: 2.789 MB / 0.6169 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01893/0.5387, allocations: 12.03 MB / 0.6286 GB, free: 14.69 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5387, allocations: 0 / 0.6286 GB, free: 14.69 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5387, allocations: 0 / 0.6286 GB, free: 14.69 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004706/0.5392, allocations: 0 / 0.6286 GB, free: 14.69 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02409/0.5633, allocations: 8.014 MB / 0.6365 GB, free: 6.602 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5633, allocations: 8.031 kB / 0.6365 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/0.579, allocations: 3.101 MB / 0.6395 GB, free: 3.484 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/0.5965, allocations: 4.983 MB / 0.6444 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005776/0.5971, allocations: 378.2 kB / 0.6447 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002639/0.5997, allocations: 0.5114 MB / 0.6452 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03698/0.6367, allocations: 15.64 MB / 0.6605 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003738/0.6371, allocations: 71.45 kB / 0.6606 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00208/0.6392, allocations: 239.8 kB / 0.6608 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004997/0.6442, allocations: 2.536 MB / 0.6633 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03349/0.6777, allocations: 13.08 MB / 0.676 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09356/0.7712, allocations: 52.63 MB / 0.7274 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01851/0.7897, allocations: 5.71 MB / 0.733 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2879/1.078, allocations: 3.227 MB / 0.7362 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01704/1.095, allocations: 9.245 MB / 0.7452 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/1.095, allocations: 59.78 kB / 0.7452 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 6.112e-06/1.095, allocations: 0 / 0.7452 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1184/1.213, allocations: 39.09 MB / 0.7834 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/1.213, allocations: 239.9 kB / 0.7837 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005647/1.219, allocations: 5.447 MB / 0.789 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006709/1.219, allocations: 73.7 kB / 0.789 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.221, allocations: 4.543 MB / 0.7935 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001433/1.223, allocations: 1.32 MB / 0.7948 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002199/1.225, allocations: 1.754 MB / 0.7965 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.482e-05/1.225, allocations: 313 kB / 0.7968 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004789/1.23, allocations: 4.081 MB / 0.8008 GB, free: 100 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007624/1.237, allocations: 8.73 MB / 0.8093 GB, free: 89.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/1.251, allocations: 13.56 MB / 0.8225 GB, free: 73.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/1.251, allocations: 44 kB / 0.8226 GB, free: 73.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.04394/1.295, allocations: 16.29 MB / 0.8385 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.296, allocations: 76 kB / 0.8386 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002192/1.296, allocations: 156 kB / 0.8387 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01258/1.308, allocations: 4.272 MB / 0.8429 GB, free: 52.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006499/1.315, allocations: 1.891 MB / 0.8447 GB, free: 50.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02824/1.343, allocations: 21.16 MB / 0.8654 GB, free: 29.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006438/1.349, allocations: 0.5033 MB / 0.8659 GB, free: 28.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/1.351, allocations: 484 kB / 0.8663 GB, free: 28.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1023 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006088/1.357, allocations: 3.132 MB / 0.8694 GB, free: 25.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.358, allocations: 0.5006 MB / 0.8699 GB, free: 24.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01942/1.378, allocations: 10.02 MB / 0.8797 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.576e-05/1.378, allocations: 39.92 kB / 0.8797 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-05/1.378, allocations: 16 kB / 0.8797 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.606e-05/1.378, allocations: 11.95 kB / 0.8797 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0411/1.419, allocations: 17.84 MB / 0.8972 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/1.419, allocations: 8 kB / 0.8972 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.422, allocations: 0.4914 MB / 0.8977 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01373/1.435, allocations: 3.845 MB / 0.9014 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006028/1.436, allocations: 64 kB / 0.9015 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03287/1.469, allocations: 18.72 MB / 0.9198 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/1.469, allocations: 11.94 kB / 0.9198 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03198/1.501, allocations: 14.86 MB / 0.9343 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/1.503, allocations: 480.4 kB / 0.9347 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/1.505, allocations: 63.98 kB / 0.9348 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003953/1.509, allocations: 231.7 kB / 0.935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009977/1.51, allocations: 238.1 kB / 0.9352 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004441/1.51, allocations: 99.92 kB / 0.9353 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007181/1.517, allocations: 3.232 MB / 0.9385 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.517, allocations: 0 / 0.9385 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009109/1.526, allocations: 1.75 MB / 0.9402 GB, free: 92 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * 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 (261): * Single equations (assignments): 257 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/1.528, allocations: 257.9 kB / 0.9405 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01802/1.546, allocations: 9.331 MB / 0.9496 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/1.546, allocations: 4 kB / 0.9496 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006677/1.552, allocations: 3.45 MB / 0.9529 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/1.558, allocations: 0.6505 MB / 0.9536 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/1.59, allocations: 16.19 MB / 0.9694 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007002/1.597, allocations: 4.331 MB / 0.9736 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.2525/1.849, allocations: 2.524 MB / 0.9761 GB, free: 224.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.851, allocations: 330.6 kB / 0.9764 GB, free: 224.6 MB / 0.6544 GB Notification: Performance of SimCode: time 1.423e-06/1.851, allocations: 0 / 0.9764 GB, free: 224.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.1054/1.956, allocations: 77.95 MB / 1.053 GB, free: 166.7 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 9.18535234592855]