Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.001161/0.001161, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006895/0.006895, allocations: 160.7 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.8886/0.8886, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.277/0.277, allocations: 34.25 MB / 295.7 MB, free: 0.7188 MB / 266.7 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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.594e-05, allocations: 12.19 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.1816/0.1817, allocations: 14.13 MB / 457.6 MB, free: 36.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00715/0.1888, allocations: 5.119 MB / 462.7 MB, free: 32.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.1903, allocations: 113.5 kB / 462.8 MB, free: 32.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.1934, allocations: 4.268 MB / 467.1 MB, free: 31.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.1967, allocations: 2.888 MB / 470 MB, free: 29.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1982, allocations: 1.4 MB / 471.4 MB, free: 29.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005246/0.2034, allocations: 8.791 MB / 480.1 MB, free: 25.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004632/0.208, allocations: 5.477 MB / 485.6 MB, free: 23.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005014/0.213, allocations: 4.137 MB / 489.8 MB, free: 21.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005466/0.2185, allocations: 4.229 MB / 494 MB, free: 20.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.2199, allocations: 0.6065 MB / 494.6 MB, free: 20.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.2225, allocations: 1.752 MB / 496.3 MB, free: 20.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002667/0.2252, allocations: 3.525 MB / 499.9 MB, free: 18.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003083/0.2283, allocations: 2.209 MB / 0.4903 GB, free: 17.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009846/0.2381, allocations: 12.53 MB / 0.5025 GB, free: 9.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2381, allocations: 0 / 0.5025 GB, free: 9.367 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2381, allocations: 0 / 0.5025 GB, free: 9.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003538/0.2385, allocations: 0 / 0.5025 GB, free: 9.367 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01045/0.2489, allocations: 8.061 MB / 0.5104 GB, free: 1.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.249, allocations: 12.03 kB / 0.5104 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007745/0.2567, allocations: 4.083 MB / 0.5144 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005746/0.2625, allocations: 4.166 MB / 0.5185 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.2626, allocations: 397.6 kB / 0.5189 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007886/0.2634, allocations: 0.5581 MB / 0.5194 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/0.2854, allocations: 18.96 MB / 0.5379 GB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.2855, allocations: 59.52 kB / 0.538 GB, free: 3.867 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004856/0.286, allocations: 251.8 kB / 0.5382 GB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002982/0.289, allocations: 3.424 MB / 0.5416 GB, free: 196 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02296/0.3119, allocations: 16.65 MB / 0.5578 GB, free: 15.53 MB / 474.7 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.05895/0.3709, allocations: 62.4 MB / 0.6188 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008891/0.3798, allocations: 5.353 MB / 0.624 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/0.3823, allocations: 2.647 MB / 0.6266 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2173/0.5996, allocations: 10.88 MB / 0.6372 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.5996, allocations: 70.55 kB / 0.6373 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 7.333e-06/0.5997, allocations: 0 / 0.6373 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=345): time 0.05022/0.6499, allocations: 26.03 MB / 0.6627 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.65, allocations: 196.8 kB / 0.6629 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009044/0.659, allocations: 5.864 MB / 0.6686 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007713/0.6598, allocations: 72.17 kB / 0.6687 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002464/0.6623, allocations: 5.135 MB / 0.6737 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/0.6638, allocations: 1.327 MB / 0.675 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002198/0.666, allocations: 1.892 MB / 0.6768 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.59e-05/0.666, allocations: 301.1 kB / 0.6771 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004567/0.6706, allocations: 3.36 MB / 0.6804 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007759/0.6783, allocations: 8.901 MB / 0.6891 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/0.689, allocations: 13.19 MB / 0.702 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/0.6892, allocations: 54.75 kB / 0.702 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0202/0.7094, allocations: 12.97 MB / 0.7147 GB, free: 99.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.406e-05/0.7095, allocations: 88.61 kB / 0.7148 GB, free: 99.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/0.7096, allocations: 192 kB / 0.715 GB, free: 99.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/0.712, allocations: 1.324 MB / 0.7163 GB, free: 98.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/0.7168, allocations: 2.209 MB / 0.7184 GB, free: 96.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00687/0.7237, allocations: 7.605 MB / 0.7258 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00626/0.7299, allocations: 0.5869 MB / 0.7264 GB, free: 89.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/0.7314, allocations: 0.5467 MB / 0.7269 GB, free: 88.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1179): * Single equations (assignments): 1172 * 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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006358/0.7378, allocations: 3.456 MB / 0.7303 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/0.739, allocations: 0.5042 MB / 0.7308 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006215/0.7452, allocations: 5.339 MB / 0.736 GB, free: 80.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/0.7453, allocations: 36 kB / 0.7361 GB, free: 80.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.7453, allocations: 8 kB / 0.7361 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/0.7453, allocations: 19.42 kB / 0.7361 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/0.7626, allocations: 11.69 MB / 0.7475 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.7627, allocations: 16.25 kB / 0.7475 GB, free: 70.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.7638, allocations: 0.4954 MB / 0.748 GB, free: 69.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.7654, allocations: 0.812 MB / 0.7488 GB, free: 69.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/0.7656, allocations: 71.98 kB / 0.7489 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/0.7705, allocations: 5.578 MB / 0.7543 GB, free: 63.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.7705, allocations: 19.88 kB / 0.7543 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008666/0.7791, allocations: 8.249 MB / 0.7624 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/0.7809, allocations: 0.4998 MB / 0.7629 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006404/0.7815, allocations: 63.98 kB / 0.7629 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.7828, allocations: 183.8 kB / 0.7631 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.7831, allocations: 236.6 kB / 0.7633 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.7832, allocations: 104 kB / 0.7634 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003771/0.787, allocations: 3.413 MB / 0.7668 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.787, allocations: 0 / 0.7668 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008254/0.7953, allocations: 1.746 MB / 0.7685 GB, free: 48.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008775/0.7961, allocations: 283.4 kB / 0.7687 GB, free: 48.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009407/0.8055, allocations: 7.59 MB / 0.7762 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.8055, allocations: 0 / 0.7762 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002445/0.808, allocations: 2.224 MB / 0.7783 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/0.8109, allocations: 0.5828 MB / 0.7789 GB, free: 37.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/0.8313, allocations: 16.2 MB / 0.7947 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004053/0.8354, allocations: 4.663 MB / 0.7993 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.8368, allocations: 448.4 kB / 0.7997 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.303e-06/0.8368, allocations: 0 / 0.7997 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.3064/1.143, allocations: 128 MB / 0.9247 GB, free: 118.1 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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: 11.517301499843597]