Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 109.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 188.2 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2461/0.2461, allocations: 44.24 MB / 330.2 MB, free: 9.539 MB / 270.1 MB " [Timeout remaining time 179] 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "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.002279/0.002279, allocations: 67.89 kB / 467.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1622, allocations: 61.04 MB / 0.5166 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02007/0.1823, allocations: 16.16 MB / 0.5324 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.1985, allocations: 5.507 MB / 0.5377 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00536/0.2039, allocations: 131.4 kB / 0.5379 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2986/0.5024, allocations: 5.206 MB / 0.5429 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00827/0.5107, allocations: 2.713 MB / 0.5456 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003748/0.5144, allocations: 1.395 MB / 0.547 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0139/0.5284, allocations: 7.612 MB / 0.5544 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008837/0.5372, allocations: 4.85 MB / 0.5591 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007569/0.5448, allocations: 2.83 MB / 0.5619 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00762/0.5524, allocations: 4.048 MB / 0.5658 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002629/0.555, allocations: 0.6391 MB / 0.5665 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005071/0.5601, allocations: 1.824 MB / 0.5683 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00511/0.5652, allocations: 3.455 MB / 0.5716 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007644/0.5728, allocations: 3.724 MB / 0.5753 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.5911, allocations: 12.03 MB / 0.587 GB, free: 6.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.5911, allocations: 2.5 kB / 0.587 GB, free: 6.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5912, allocations: 4 kB / 0.587 GB, free: 6.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005798/0.5917, allocations: 1.969 kB / 0.587 GB, free: 6.984 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02476/0.6165, allocations: 8.05 MB / 0.5949 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.6165, allocations: 12.02 kB / 0.5949 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.6312, allocations: 3.095 MB / 0.5979 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/0.6468, allocations: 5.215 MB / 0.603 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.6472, allocations: 379.8 kB / 0.6034 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.6497, allocations: 0.5152 MB / 0.6039 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03864/0.6883, allocations: 15.51 MB / 0.619 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003795/0.6887, allocations: 71.45 kB / 0.6191 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002143/0.6909, allocations: 233.2 kB / 0.6193 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004265/0.6951, allocations: 2.543 MB / 0.6218 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03266/0.7278, allocations: 13.11 MB / 0.6346 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1068/0.8346, allocations: 57.25 MB / 0.6905 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01883/0.8535, allocations: 5.704 MB / 0.6961 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005799/0.8593, allocations: 3.237 MB / 0.6992 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02468/0.8839, allocations: 10.02 MB / 0.709 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.8841, allocations: 64.5 kB / 0.7091 GB, free: 8.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=248): time 8.356e-06/0.8841, allocations: 0 / 0.7091 GB, free: 8.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=343): time 0.1539/1.038, allocations: 39.55 MB / 0.7477 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002177/1.038, allocations: 243.9 kB / 0.7479 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01455/1.053, allocations: 5.753 MB / 0.7536 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001181/1.054, allocations: 77.7 kB / 0.7536 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005022/1.059, allocations: 4.527 MB / 0.758 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002325/1.061, allocations: 1.318 MB / 0.7593 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005674/1.067, allocations: 1.762 MB / 0.7611 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.067, allocations: 305.1 kB / 0.7613 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2944/1.362, allocations: 4.08 MB / 0.7653 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/1.372, allocations: 8.667 MB / 0.7738 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/1.39, allocations: 13.55 MB / 0.787 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003307/1.39, allocations: 45.72 kB / 0.7871 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04076/1.431, allocations: 16.36 MB / 0.803 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/1.431, allocations: 76 kB / 0.8031 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000254/1.432, allocations: 158.3 kB / 0.8033 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01414/1.446, allocations: 4.281 MB / 0.8075 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007726/1.453, allocations: 1.888 MB / 0.8093 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02777/1.481, allocations: 21.46 MB / 0.8303 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008418/1.49, allocations: 0.5053 MB / 0.8307 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001964/1.492, allocations: 486.6 kB / 0.8312 GB, free: 155.8 MB / 0.5919 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 (1031): * Single equations (assignments): 1027 * 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.007853/1.499, allocations: 3.127 MB / 0.8343 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/1.501, allocations: 0.5431 MB / 0.8348 GB, free: 152.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.52, allocations: 10.05 MB / 0.8446 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-05/1.52, allocations: 36 kB / 0.8446 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.867e-05/1.52, allocations: 17.06 kB / 0.8447 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-05/1.52, allocations: 15.94 kB / 0.8447 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03861/1.559, allocations: 19.98 MB / 0.8642 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.684e-05/1.559, allocations: 8 kB / 0.8642 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002408/1.561, allocations: 0.4937 MB / 0.8647 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0118/1.573, allocations: 3.841 MB / 0.8684 GB, free: 118 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009586/1.574, allocations: 64 kB / 0.8685 GB, free: 117.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02267/1.597, allocations: 19.02 MB / 0.8871 GB, free: 98.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.597, allocations: 15.92 kB / 0.8871 GB, free: 98.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02402/1.621, allocations: 14.89 MB / 0.9016 GB, free: 83.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003466/1.624, allocations: 1.137 MB / 0.9027 GB, free: 82.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/1.625, allocations: 60 kB / 0.9028 GB, free: 82.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.628, allocations: 231.6 kB / 0.903 GB, free: 82.42 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006548/1.629, allocations: 243.7 kB / 0.9032 GB, free: 82.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.629, allocations: 96.84 kB / 0.9033 GB, free: 82.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004671/1.634, allocations: 3.632 MB / 0.9069 GB, free: 78.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.634, allocations: 0 / 0.9069 GB, free: 78.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008579/1.642, allocations: 1.791 MB / 0.9086 GB, free: 76.71 MB / 0.5919 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.0008277/1.643, allocations: 258.4 kB / 0.9089 GB, free: 76.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.656, allocations: 9.339 MB / 0.918 GB, free: 67.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/1.656, allocations: 0 / 0.918 GB, free: 67.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004334/1.66, allocations: 3.46 MB / 0.9214 GB, free: 63.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/1.664, allocations: 0.7221 MB / 0.9221 GB, free: 62.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/1.689, allocations: 16.27 MB / 0.938 GB, free: 46.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005011/1.694, allocations: 4.835 MB / 0.9427 GB, free: 41.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005385/1.699, allocations: 2.587 MB / 0.9452 GB, free: 39.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.701, allocations: 347.4 kB / 0.9456 GB, free: 38.77 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/1.701, allocations: 3.938 kB / 0.9456 GB, free: 38.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.4092/2.11, allocations: 78.18 MB / 1.022 GB, free: 185.6 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.882204453460872]