Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001481/0.001481, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001133/0.001133, allocations: 165.4 kB / 24.99 MB, free: 8.797 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 1.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3076/0.3076, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.289e-05, allocations: 9.766 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01717/0.01719, allocations: 15.6 MB / 391.6 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.02743, allocations: 5.24 MB / 396.8 MB, free: 60 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.02925, allocations: 115.5 kB / 396.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004545/0.0338, allocations: 4.462 MB / 401.4 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.03786, allocations: 2.893 MB / 404.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.03967, allocations: 1.423 MB / 405.7 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006928/0.04659, allocations: 8.782 MB / 414.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004433/0.05103, allocations: 5.667 MB / 420.2 MB, free: 8.586 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004348/0.05537, allocations: 4.155 MB / 424.3 MB, free: 4.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004437/0.05981, allocations: 4.318 MB / 428.6 MB, free: 96 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.06131, allocations: 0.6055 MB / 429.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.06443, allocations: 1.752 MB / 431 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002981/0.06741, allocations: 3.553 MB / 434.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003096/0.07051, allocations: 2.212 MB / 436.8 MB, free: 7.953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1825/0.253, allocations: 7.952 MB / 444.7 MB, free: 68.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.253, allocations: 0 / 444.7 MB, free: 68.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.253, allocations: 0 / 444.7 MB, free: 68.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004257/0.2534, allocations: 0 / 444.7 MB, free: 68.31 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.01327/0.2667, allocations: 8.657 MB / 453.4 MB, free: 65.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.2668, allocations: 8.656 kB / 453.4 MB, free: 65.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009839/0.2766, allocations: 4.98 MB / 458.4 MB, free: 64.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005353/0.2819, allocations: 3.807 MB / 462.2 MB, free: 63.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.2821, allocations: 398.3 kB / 462.6 MB, free: 63.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007285/0.2829, allocations: 0.5525 MB / 463.1 MB, free: 63.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.2976, allocations: 11.29 MB / 474.4 MB, free: 59.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/0.2978, allocations: 66.16 kB / 474.5 MB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005097/0.2983, allocations: 252.2 kB / 474.7 MB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003264/0.3015, allocations: 3.428 MB / 478.1 MB, free: 59.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.3204, allocations: 6.816 MB / 485 MB, free: 58.45 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.05289/0.3733, allocations: 70.58 MB / 0.5425 GB, free: 17.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007612/0.3809, allocations: 3.422 MB / 0.5459 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.3821, allocations: 0.9873 MB / 0.5468 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.3922, allocations: 7.862 MB / 0.5545 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.3922, allocations: 67.05 kB / 0.5546 GB, free: 6.141 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 4.178e-06/0.3922, allocations: 0 / 0.5546 GB, free: 6.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.03857/0.4308, allocations: 18.65 MB / 0.5728 GB, free: 3.625 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.4309, allocations: 186.6 kB / 0.573 GB, free: 3.406 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005161/0.436, allocations: 5.109 MB / 0.5779 GB, free: 14.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.4362, allocations: 73.7 kB / 0.578 GB, free: 14.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002726/0.4389, allocations: 5.368 MB / 0.5833 GB, free: 8.906 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009072/0.4398, allocations: 1.371 MB / 0.5846 GB, free: 7.555 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001823/0.4416, allocations: 2.034 MB / 0.5866 GB, free: 5.508 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.4417, allocations: 484.7 kB / 0.587 GB, free: 5.031 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.4437, allocations: 1.145 MB / 0.5882 GB, free: 3.883 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006143/0.4499, allocations: 9.312 MB / 0.5973 GB, free: 6.945 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1624/0.6122, allocations: 11.52 MB / 0.6085 GB, free: 129.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001679/0.6124, allocations: 54.03 kB / 0.6086 GB, free: 129.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.01328/0.6257, allocations: 8.811 MB / 0.6172 GB, free: 128.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/0.6258, allocations: 90.28 kB / 0.6172 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/0.6259, allocations: 192.5 kB / 0.6174 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.6286, allocations: 1.137 MB / 0.6185 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/0.6324, allocations: 2.206 MB / 0.6207 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/0.6377, allocations: 4.599 MB / 0.6252 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/0.6417, allocations: 0.5934 MB / 0.6258 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/0.6422, allocations: 0.5473 MB / 0.6263 GB, free: 126 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 (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.001984/0.6442, allocations: 0.9239 MB / 0.6272 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006123/0.6448, allocations: 0.5918 MB / 0.6278 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/0.6495, allocations: 2.906 MB / 0.6306 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/0.6496, allocations: 38.53 kB / 0.6307 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.6496, allocations: 10.88 kB / 0.6307 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.6496, allocations: 14.81 kB / 0.6307 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.6639, allocations: 9.817 MB / 0.6403 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.6639, allocations: 11.06 kB / 0.6403 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.6651, allocations: 0.4909 MB / 0.6408 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.6672, allocations: 0.7038 MB / 0.6414 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/0.6674, allocations: 71.91 kB / 0.6415 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.6713, allocations: 3.462 MB / 0.6449 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6713, allocations: 19.03 kB / 0.6449 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/0.6772, allocations: 4.507 MB / 0.6493 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008106/0.678, allocations: 0.4905 MB / 0.6498 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/0.6784, allocations: 69.7 kB / 0.6499 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.6796, allocations: 178.5 kB / 0.65 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/0.6799, allocations: 236.9 kB / 0.6503 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.68, allocations: 99.89 kB / 0.6503 GB, free: 117 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002685/0.6827, allocations: 2.169 MB / 0.6525 GB, free: 116.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6827, allocations: 0 / 0.6525 GB, free: 116.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005123/0.6879, allocations: 1.751 MB / 0.6542 GB, free: 116.1 MB / 474.7 MB 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.000509/0.6884, allocations: 284.5 kB / 0.6544 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007139/0.6955, allocations: 4.95 MB / 0.6593 GB, free: 112.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.6955, allocations: 4 kB / 0.6593 GB, free: 112.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.6972, allocations: 1.404 MB / 0.6607 GB, free: 111.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.6991, allocations: 0.6244 MB / 0.6613 GB, free: 111 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.7145, allocations: 12.97 MB / 0.6739 GB, free: 98.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.7161, allocations: 2.131 MB / 0.676 GB, free: 97.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003447/0.7196, allocations: 2.486 MB / 0.6784 GB, free: 95.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006765/0.7202, allocations: 374 kB / 0.6788 GB, free: 95.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7202, allocations: 0 / 0.6788 GB, free: 95.5 MB / 474.7 MB Notification: Performance of Templates: time 0.06207/0.7823, allocations: 51.04 MB / 0.7286 GB, free: 47.31 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.280875471886247]