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.001459/0.001459, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001607/0.001607, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.551/1.551, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2706/0.2706, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] 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.002065/0.002065, allocations: 71.89 kB / 0.4914 GB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.151, allocations: 66 MB / 0.5558 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02049/0.1715, allocations: 16.04 MB / 0.5715 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.1851, allocations: 5.475 MB / 0.5769 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.1883, allocations: 135.3 kB / 0.577 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.1988, allocations: 5.171 MB / 0.582 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007606/0.2064, allocations: 2.658 MB / 0.5846 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.2102, allocations: 1.4 MB / 0.586 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3401/0.5502, allocations: 8.236 MB / 0.594 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009554/0.5598, allocations: 5.761 MB / 0.5997 GB, free: 7.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00739/0.5672, allocations: 2.812 MB / 0.6024 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009866/0.577, allocations: 4.025 MB / 0.6063 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004492/0.5815, allocations: 0.633 MB / 0.607 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008461/0.59, allocations: 1.827 MB / 0.6087 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008333/0.5983, allocations: 3.419 MB / 0.6121 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0121/0.6104, allocations: 3.689 MB / 0.6157 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02294/0.6333, allocations: 11.97 MB / 0.6274 GB, free: 13.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6334, allocations: 4 kB / 0.6274 GB, free: 13.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6334, allocations: 0 / 0.6274 GB, free: 13.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006001/0.634, allocations: 0 / 0.6274 GB, free: 13.67 MB / 462.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.02919/0.6631, allocations: 8.087 MB / 0.6353 GB, free: 8.285 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6632, allocations: 6.969 kB / 0.6353 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/0.6804, allocations: 3.095 MB / 0.6383 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/0.6958, allocations: 5.066 MB / 0.6433 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/0.6963, allocations: 379.9 kB / 0.6436 GB, free: 2.438 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/0.6992, allocations: 0.5141 MB / 0.6441 GB, free: 1.969 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03772/0.7369, allocations: 15.52 MB / 0.6593 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002819/0.7372, allocations: 66.11 kB / 0.6593 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/0.7385, allocations: 234.9 kB / 0.6596 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004847/0.7433, allocations: 2.549 MB / 0.6621 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03491/0.7783, allocations: 13.11 MB / 0.6749 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09613/0.8744, allocations: 57.42 MB / 0.7309 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01994/0.8943, allocations: 6.163 MB / 0.7369 GB, free: 1.668 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005444/0.8998, allocations: 3.222 MB / 0.7401 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02214/0.9219, allocations: 11.66 MB / 0.7515 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/0.922, allocations: 60.56 kB / 0.7515 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 4.349e-06/0.922, allocations: 0 / 0.7515 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1509/1.073, allocations: 39.42 MB / 0.79 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/1.073, allocations: 245.7 kB / 0.7903 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009956/1.083, allocations: 5.715 MB / 0.7958 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008593/1.084, allocations: 77.7 kB / 0.7959 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004155/1.088, allocations: 4.515 MB / 0.8003 GB, free: 472 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002324/1.09, allocations: 1.313 MB / 0.8016 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003449/1.094, allocations: 1.772 MB / 0.8033 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002491/1.094, allocations: 305.1 kB / 0.8036 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006824/1.101, allocations: 4.097 MB / 0.8076 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01176/1.113, allocations: 8.666 MB / 0.8161 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02103/1.134, allocations: 13.58 MB / 0.8294 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001631/1.134, allocations: 44 kB / 0.8294 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.3757/1.51, allocations: 16.35 MB / 0.8454 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/1.51, allocations: 74.81 kB / 0.8454 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/1.51, allocations: 160.3 kB / 0.8456 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0158/1.526, allocations: 4.275 MB / 0.8498 GB, free: 217.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007303/1.533, allocations: 1.907 MB / 0.8516 GB, free: 217.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0324/1.565, allocations: 21.56 MB / 0.8727 GB, free: 209.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007912/1.573, allocations: 0.5093 MB / 0.8732 GB, free: 209.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/1.575, allocations: 479.5 kB / 0.8736 GB, free: 209.4 MB / 0.6544 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.006072/1.581, allocations: 3.13 MB / 0.8767 GB, free: 208.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/1.582, allocations: 0.5423 MB / 0.8772 GB, free: 208.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02048/1.603, allocations: 10.06 MB / 0.887 GB, free: 204.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/1.603, allocations: 34.78 kB / 0.8871 GB, free: 204.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/1.603, allocations: 18.12 kB / 0.8871 GB, free: 204.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-05/1.603, allocations: 16.08 kB / 0.8871 GB, free: 204.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04265/1.646, allocations: 20.01 MB / 0.9066 GB, free: 193.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-05/1.646, allocations: 8.875 kB / 0.9067 GB, free: 193.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.648, allocations: 0.4953 MB / 0.9071 GB, free: 192.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/1.661, allocations: 3.838 MB / 0.9109 GB, free: 189.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007616/1.662, allocations: 60 kB / 0.9109 GB, free: 189 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02407/1.686, allocations: 19.11 MB / 0.9296 GB, free: 169.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.686, allocations: 13.58 kB / 0.9296 GB, free: 169.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0245/1.711, allocations: 14.89 MB / 0.9442 GB, free: 155.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.712, allocations: 0.6019 MB / 0.9447 GB, free: 154.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/1.713, allocations: 64.86 kB / 0.9448 GB, free: 154.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003255/1.717, allocations: 236.6 kB / 0.945 GB, free: 154.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008659/1.717, allocations: 222.2 kB / 0.9452 GB, free: 154 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/1.718, allocations: 92.94 kB / 0.9453 GB, free: 153.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005249/1.723, allocations: 3.6 MB / 0.9488 GB, free: 150.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/1.723, allocations: 1.5 kB / 0.9488 GB, free: 150.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00824/1.731, allocations: 1.764 MB / 0.9506 GB, free: 148.6 MB / 0.6544 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.0007326/1.732, allocations: 263.2 kB / 0.9508 GB, free: 148.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.745, allocations: 9.354 MB / 0.96 GB, free: 139 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.745, allocations: 8 kB / 0.96 GB, free: 139 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004579/1.749, allocations: 3.442 MB / 0.9633 GB, free: 135.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004872/1.754, allocations: 0.731 MB / 0.964 GB, free: 134.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.778, allocations: 16.11 MB / 0.9798 GB, free: 118.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005573/1.784, allocations: 4.816 MB / 0.9845 GB, free: 113.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005834/1.79, allocations: 2.577 MB / 0.987 GB, free: 111.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.791, allocations: 355.4 kB / 0.9873 GB, free: 110.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.502e-06/1.791, allocations: 0 / 0.9873 GB, free: 110.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.1116/1.902, allocations: 75.52 MB / 1.061 GB, free: 35.66 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.33571758121252]