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.000998/0.000998, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001145/0.001145, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9304/0.9304, allocations: 177.1 MB / 205 MB, free: 5.621 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.2525/0.2525, allocations: 34.26 MB / 295.7 MB, free: 0.7734 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.303e-06/1.303e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.518e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01197/0.01199, allocations: 15.65 MB / 393.7 MB, free: 2.961 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.02252, allocations: 5.26 MB / 398.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.02451, allocations: 111.5 kB / 399 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004566/0.02908, allocations: 4.474 MB / 403.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005432/0.03451, allocations: 2.912 MB / 406.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.03665, allocations: 1.419 MB / 407.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007243/0.04389, allocations: 8.783 MB / 416.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005836/0.04973, allocations: 5.667 MB / 422.3 MB, free: 6.188 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005283/0.05501, allocations: 4.67 MB / 427 MB, free: 1.508 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004026/0.05904, allocations: 4.256 MB / 431.2 MB, free: 13.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007586/0.0598, allocations: 0.6016 MB / 431.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.06197, allocations: 1.736 MB / 433.6 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.06433, allocations: 3.538 MB / 437.1 MB, free: 7.355 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.06603, allocations: 2.208 MB / 439.3 MB, free: 5.141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1741/0.2401, allocations: 7.908 MB / 447.2 MB, free: 66.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.2401, allocations: 0 / 447.2 MB, free: 66.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2401, allocations: 0 / 447.2 MB, free: 66.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003277/0.2405, allocations: 0 / 447.2 MB, free: 66.42 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.00966/0.2501, allocations: 8.638 MB / 455.9 MB, free: 63.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2502, allocations: 9.594 kB / 455.9 MB, free: 63.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008082/0.2583, allocations: 4.946 MB / 460.8 MB, free: 62.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/0.2618, allocations: 3.692 MB / 464.5 MB, free: 61.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.262, allocations: 395.3 kB / 464.9 MB, free: 61.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006182/0.2626, allocations: 0.5527 MB / 465.4 MB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.2756, allocations: 11.3 MB / 476.7 MB, free: 57.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.2757, allocations: 66.88 kB / 476.8 MB, free: 57.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004662/0.2762, allocations: 248.6 kB / 477.1 MB, free: 57.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003275/0.2795, allocations: 3.431 MB / 480.5 MB, free: 56.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.2941, allocations: 6.824 MB / 487.3 MB, free: 56.19 MB / 410.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.04241/0.3365, allocations: 70.62 MB / 0.5449 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006918/0.3434, allocations: 3.428 MB / 0.5482 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.3446, allocations: 0.9966 MB / 0.5492 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009897/0.3545, allocations: 7.947 MB / 0.5569 GB, free: 3.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.3545, allocations: 64.94 kB / 0.557 GB, free: 3.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 4.198e-06/0.3546, allocations: 0 / 0.557 GB, free: 3.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.04079/0.3953, allocations: 17.54 MB / 0.5741 GB, free: 1.758 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.3954, allocations: 199.7 kB / 0.5743 GB, free: 1.527 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006014/0.4014, allocations: 5.096 MB / 0.5793 GB, free: 12.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.4016, allocations: 76.36 kB / 0.5794 GB, free: 12.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003294/0.4049, allocations: 5.348 MB / 0.5846 GB, free: 7.055 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.406, allocations: 1.403 MB / 0.586 GB, free: 5.676 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002574/0.4085, allocations: 2.034 MB / 0.588 GB, free: 3.629 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4087, allocations: 480.7 kB / 0.5884 GB, free: 3.156 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.411, allocations: 1.178 MB / 0.5896 GB, free: 1.973 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006933/0.4179, allocations: 9.352 MB / 0.5987 GB, free: 4.996 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1722/0.5902, allocations: 11.59 MB / 0.61 GB, free: 122.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001581/0.5903, allocations: 55.62 kB / 0.6101 GB, free: 122.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01593/0.6063, allocations: 8.902 MB / 0.6188 GB, free: 121.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.596e-05/0.6063, allocations: 87.62 kB / 0.6188 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/0.6065, allocations: 192.3 kB / 0.619 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/0.609, allocations: 1.144 MB / 0.6201 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/0.6125, allocations: 2.222 MB / 0.6223 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.6172, allocations: 4.596 MB / 0.6268 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/0.6207, allocations: 0.5946 MB / 0.6274 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004529/0.6211, allocations: 0.5513 MB / 0.6279 GB, free: 118.8 MB / 474.7 MB 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 (1184): * Single equations (assignments): 1177 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001866/0.623, allocations: 0.919 MB / 0.6288 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/0.6236, allocations: 0.5988 MB / 0.6294 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/0.6285, allocations: 3.042 MB / 0.6324 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.578e-05/0.6286, allocations: 43.83 kB / 0.6324 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.6286, allocations: 9.875 kB / 0.6324 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.6286, allocations: 19.12 kB / 0.6324 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.6427, allocations: 10.17 MB / 0.6424 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.6427, allocations: 12.56 kB / 0.6424 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.6438, allocations: 0.5279 MB / 0.6429 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.6455, allocations: 0.6591 MB / 0.6435 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.6457, allocations: 76.16 kB / 0.6436 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.6488, allocations: 3.306 MB / 0.6468 GB, free: 112.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/0.6488, allocations: 26.22 kB / 0.6469 GB, free: 112.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005123/0.6539, allocations: 4.63 MB / 0.6514 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.6544, allocations: 0.5016 MB / 0.6519 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/0.6548, allocations: 74.77 kB / 0.652 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.6558, allocations: 188.5 kB / 0.6521 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/0.6561, allocations: 249.6 kB / 0.6524 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.6562, allocations: 110.8 kB / 0.6525 GB, free: 109.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002554/0.6588, allocations: 2.16 MB / 0.6546 GB, free: 109.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6588, allocations: 4.031 kB / 0.6546 GB, free: 109.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004983/0.6638, allocations: 1.759 MB / 0.6563 GB, free: 108.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * 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 (279): * Single equations (assignments): 272 * 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,27,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004877/0.6642, allocations: 288.2 kB / 0.6566 GB, free: 108.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006193/0.6704, allocations: 4.998 MB / 0.6615 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.6704, allocations: 4 kB / 0.6615 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.6719, allocations: 1.403 MB / 0.6628 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.6738, allocations: 0.6391 MB / 0.6635 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/0.689, allocations: 13.1 MB / 0.6763 GB, free: 90.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.6905, allocations: 2.135 MB / 0.6783 GB, free: 89.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00338/0.6938, allocations: 2.492 MB / 0.6808 GB, free: 87.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/0.6946, allocations: 375.5 kB / 0.6811 GB, free: 87.34 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6946, allocations: 0 / 0.6811 GB, free: 87.34 MB / 474.7 MB Notification: Performance of Templates: time 0.0636/0.7582, allocations: 53.78 MB / 0.7336 GB, free: 36.57 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.84820766793564]