Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.002072/0.002072, allocations: 75.44 kB / 19.93 MB, free: 1.77 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.00285/0.00285, allocations: 170.9 kB / 23.22 MB, free: 4.887 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.619/1.619, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.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.2218/0.2218, allocations: 32.38 MB / 269.6 MB, free: 4.766 MB / 254.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.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.278e-05, allocations: 2.281 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02114/0.02118, allocations: 15.48 MB / 422.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.0365, allocations: 5.415 MB / 428.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004538/0.04104, allocations: 135.4 kB / 428.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.05269, allocations: 4.707 MB / 433.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.0633, allocations: 3.238 MB / 436.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004642/0.06795, allocations: 1.68 MB / 438 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0178/0.08575, allocations: 9.863 MB / 447.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01711/0.1029, allocations: 6.256 MB / 454.1 MB, free: 4.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01883/0.1217, allocations: 4.721 MB / 458.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.014/0.1357, allocations: 4.907 MB / 463.8 MB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003886/0.1396, allocations: 0.6797 MB / 464.4 MB, free: 9.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007145/0.1467, allocations: 1.838 MB / 466.3 MB, free: 7.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007033/0.1538, allocations: 4.021 MB / 470.3 MB, free: 3.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008463/0.1622, allocations: 2.516 MB / 472.8 MB, free: 1.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3308/0.493, allocations: 13.88 MB / 486.7 MB, free: 32.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.493, allocations: 0 / 486.7 MB, free: 32.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.493, allocations: 0 / 486.7 MB, free: 32.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000797/0.4938, allocations: 1.219 kB / 486.7 MB, free: 32.17 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.04469/0.5385, allocations: 9.324 MB / 496 MB, free: 28.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5386, allocations: 8.906 kB / 496 MB, free: 28.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0225/0.5611, allocations: 4.448 MB / 0.4887 GB, free: 27.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01671/0.5778, allocations: 5.201 MB / 0.4938 GB, free: 25.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005647/0.5783, allocations: 428.4 kB / 0.4942 GB, free: 25.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004247/0.5826, allocations: 0.6054 MB / 0.4948 GB, free: 25.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04801/0.6306, allocations: 20.75 MB / 0.5151 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005138/0.6311, allocations: 75.73 kB / 0.5151 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004436/0.6355, allocations: 270 kB / 0.5154 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00598/0.6415, allocations: 3.719 MB / 0.519 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04689/0.6884, allocations: 18.21 MB / 0.5368 GB, free: 6.836 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1508/0.8392, allocations: 70.07 MB / 0.6053 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02259/0.8618, allocations: 6.501 MB / 0.6116 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007602/0.8694, allocations: 3.82 MB / 0.6153 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04768/0.9171, allocations: 15.1 MB / 0.6301 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.9172, allocations: 68.06 kB / 0.6301 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=335): time 1.398e-05/0.9172, allocations: 0 / 0.6301 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.1585/1.076, allocations: 36.6 MB / 0.6659 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/1.076, allocations: 196.8 kB / 0.6661 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3079/1.384, allocations: 6.676 MB / 0.6726 GB, free: 193.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001338/1.385, allocations: 86.23 kB / 0.6727 GB, free: 193.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005062/1.39, allocations: 5.577 MB / 0.6781 GB, free: 190 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002536/1.393, allocations: 1.588 MB / 0.6797 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004108/1.397, allocations: 2.111 MB / 0.6817 GB, free: 187.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/1.397, allocations: 306.1 kB / 0.682 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007315/1.404, allocations: 4.34 MB / 0.6863 GB, free: 186 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009833/1.414, allocations: 10.31 MB / 0.6963 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01752/1.432, allocations: 15.68 MB / 0.7116 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002649/1.432, allocations: 60 kB / 0.7117 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03526/1.467, allocations: 16.32 MB / 0.7276 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003905/1.468, allocations: 96 kB / 0.7277 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005156/1.468, allocations: 209.8 kB / 0.7279 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00771/1.476, allocations: 2.369 MB / 0.7302 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009728/1.486, allocations: 2.476 MB / 0.7327 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/1.505, allocations: 12.48 MB / 0.7449 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01341/1.518, allocations: 0.753 MB / 0.7456 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003228/1.522, allocations: 0.6072 MB / 0.7462 GB, free: 130.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1312): * Single equations (assignments): 1305 * Array equations: 6 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01461/1.536, allocations: 3.776 MB / 0.7499 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003463/1.54, allocations: 0.5781 MB / 0.7504 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0215/1.561, allocations: 8.249 MB / 0.7585 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.056e-05/1.561, allocations: 65.94 kB / 0.7586 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.982e-05/1.561, allocations: 8 kB / 0.7586 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.927e-05/1.561, allocations: 15.94 kB / 0.7586 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04828/1.61, allocations: 16.29 MB / 0.7745 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001131/1.61, allocations: 16.06 kB / 0.7745 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003657/1.613, allocations: 0.624 MB / 0.7751 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006947/1.62, allocations: 1.807 MB / 0.7769 GB, free: 99.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001203/1.621, allocations: 80 kB / 0.777 GB, free: 99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/1.638, allocations: 10.58 MB / 0.7873 GB, free: 88.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/1.638, allocations: 15.94 kB / 0.7873 GB, free: 88.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.023/1.661, allocations: 12.41 MB / 0.7994 GB, free: 75.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004406/1.666, allocations: 1.144 MB / 0.8005 GB, free: 74.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002563/1.668, allocations: 86.48 kB / 0.8006 GB, free: 74.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00532/1.674, allocations: 311.5 kB / 0.8009 GB, free: 74.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/1.675, allocations: 282.1 kB / 0.8012 GB, free: 73.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005083/1.675, allocations: 116 kB / 0.8013 GB, free: 73.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008822/1.684, allocations: 3.946 MB / 0.8051 GB, free: 69.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.684, allocations: 0 / 0.8051 GB, free: 69.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01871/1.703, allocations: 2.179 MB / 0.8073 GB, free: 67.61 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * Array equations: 6 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002961/1.706, allocations: 308.6 kB / 0.8076 GB, free: 67.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02017/1.726, allocations: 9.685 MB / 0.817 GB, free: 57.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.988e-05/1.726, allocations: 0 / 0.817 GB, free: 57.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0057/1.732, allocations: 3.117 MB / 0.8201 GB, free: 54.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009406/1.741, allocations: 0.6794 MB / 0.8207 GB, free: 53.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04341/1.784, allocations: 18.01 MB / 0.8383 GB, free: 35.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0155/1.8, allocations: 5.134 MB / 0.8433 GB, free: 30.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01022/1.81, allocations: 3.281 MB / 0.8465 GB, free: 27.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/1.813, allocations: 412.4 kB / 0.8469 GB, free: 26.74 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/1.813, allocations: 0 / 0.8469 GB, free: 26.74 MB / 0.5294 GB Notification: Performance of Templates: time 0.4377/2.25, allocations: 66.3 MB / 0.9117 GB, free: 145.1 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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: 10.294842753559351]