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.001/0.001, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.000951/0.000951, allocations: 166.8 kB / 24.99 MB, free: 8.336 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.9448/0.9448, allocations: 177.1 MB / 205.3 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.2907/0.2907, allocations: 34.26 MB / 296 MB, free: 0.7773 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.382e-06/1.382e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.765e-05, allocations: 5.828 kB / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01137/0.01139, allocations: 15.61 MB / 393.6 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009063/0.02045, allocations: 5.232 MB / 398.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.02286, allocations: 119.4 kB / 399 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005103/0.02796, allocations: 4.454 MB / 403.4 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005669/0.03363, allocations: 2.908 MB / 406.3 MB, free: 6.566 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.03579, allocations: 1.419 MB / 407.7 MB, free: 5.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008758/0.04455, allocations: 8.792 MB / 416.5 MB, free: 12.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007147/0.0517, allocations: 5.667 MB / 422.2 MB, free: 6.586 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008352/0.06005, allocations: 4.148 MB / 426.3 MB, free: 2.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006414/0.06647, allocations: 4.322 MB / 430.7 MB, free: 14.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001888/0.06835, allocations: 0.6055 MB / 431.3 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.07184, allocations: 1.756 MB / 433 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005689/0.07753, allocations: 3.545 MB / 436.6 MB, free: 8.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005366/0.0829, allocations: 2.212 MB / 438.8 MB, free: 5.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.182/0.2649, allocations: 7.951 MB / 446.7 MB, free: 65.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2649, allocations: 3.172 kB / 446.7 MB, free: 65.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2649, allocations: 0 / 446.7 MB, free: 65.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004198/0.2653, allocations: 1.594 kB / 446.7 MB, free: 65.96 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.01513/0.2805, allocations: 8.652 MB / 455.4 MB, free: 62.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2805, allocations: 9.031 kB / 455.4 MB, free: 62.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.292, allocations: 4.991 MB / 460.4 MB, free: 62.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008245/0.3003, allocations: 3.805 MB / 464.2 MB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003243/0.3006, allocations: 393.1 kB / 464.6 MB, free: 61.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/0.3024, allocations: 0.5526 MB / 465.1 MB, free: 61.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.3227, allocations: 11.29 MB / 476.4 MB, free: 57.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003039/0.323, allocations: 73.25 kB / 476.5 MB, free: 57.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006648/0.3236, allocations: 245 kB / 476.7 MB, free: 57.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004458/0.3281, allocations: 3.427 MB / 480.2 MB, free: 56.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02582/0.3539, allocations: 6.814 MB / 487 MB, free: 55.82 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.06632/0.4203, allocations: 70.57 MB / 0.5445 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008175/0.4284, allocations: 3.431 MB / 0.5478 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.43, allocations: 0.9869 MB / 0.5488 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/0.4424, allocations: 7.871 MB / 0.5565 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.4424, allocations: 63.39 kB / 0.5565 GB, free: 3.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 6.853e-06/0.4425, allocations: 0 / 0.5565 GB, free: 3.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.04203/0.4845, allocations: 18.64 MB / 0.5748 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.4846, allocations: 188.3 kB / 0.5749 GB, free: 352 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006538/0.4911, allocations: 5.107 MB / 0.5799 GB, free: 11.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005078/0.4916, allocations: 81.69 kB / 0.58 GB, free: 11.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002997/0.4946, allocations: 5.358 MB / 0.5852 GB, free: 5.852 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001633/0.4962, allocations: 1.37 MB / 0.5866 GB, free: 4.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/0.4984, allocations: 2.038 MB / 0.5886 GB, free: 2.449 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4985, allocations: 487.9 kB / 0.589 GB, free: 1.977 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.5008, allocations: 1.143 MB / 0.5901 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006537/0.5073, allocations: 9.319 MB / 0.5992 GB, free: 3.883 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1811/0.6884, allocations: 11.5 MB / 0.6105 GB, free: 126.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000201/0.6886, allocations: 55.75 kB / 0.6105 GB, free: 126.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0147/0.7033, allocations: 8.815 MB / 0.6191 GB, free: 125.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.7034, allocations: 87.47 kB / 0.6192 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/0.7036, allocations: 194.3 kB / 0.6194 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002982/0.7066, allocations: 1.133 MB / 0.6205 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/0.7114, allocations: 2.204 MB / 0.6227 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005769/0.7172, allocations: 4.592 MB / 0.6272 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005217/0.7224, allocations: 0.5919 MB / 0.6277 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/0.7235, allocations: 0.5536 MB / 0.6283 GB, free: 122.9 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.002609/0.7261, allocations: 0.923 MB / 0.6292 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009043/0.727, allocations: 0.5927 MB / 0.6297 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005676/0.7327, allocations: 2.906 MB / 0.6326 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.335e-05/0.7327, allocations: 36.06 kB / 0.6326 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.7327, allocations: 11.81 kB / 0.6326 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.7327, allocations: 14.58 kB / 0.6326 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/0.7503, allocations: 9.814 MB / 0.6422 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.7503, allocations: 11.59 kB / 0.6422 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.7516, allocations: 0.4961 MB / 0.6427 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/0.7537, allocations: 0.708 MB / 0.6434 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.7539, allocations: 71.36 kB / 0.6435 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/0.7579, allocations: 3.46 MB / 0.6469 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.7579, allocations: 19.81 kB / 0.6469 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006775/0.7647, allocations: 4.5 MB / 0.6513 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/0.7664, allocations: 0.4898 MB / 0.6518 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008195/0.7672, allocations: 70.14 kB / 0.6518 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.7687, allocations: 179.3 kB / 0.652 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004498/0.7691, allocations: 230.4 kB / 0.6522 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/0.7693, allocations: 107.5 kB / 0.6523 GB, free: 113.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003816/0.7731, allocations: 2.17 MB / 0.6544 GB, free: 113.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7731, allocations: 0 / 0.6544 GB, free: 113.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006624/0.7797, allocations: 1.745 MB / 0.6561 GB, free: 112.8 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.000706/0.7804, allocations: 286.4 kB / 0.6564 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00851/0.7889, allocations: 4.963 MB / 0.6613 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.7889, allocations: 0 / 0.6613 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.7911, allocations: 1.407 MB / 0.6626 GB, free: 106.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/0.7943, allocations: 0.6212 MB / 0.6632 GB, free: 106.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/0.8144, allocations: 12.98 MB / 0.6759 GB, free: 94.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003002/0.8174, allocations: 2.126 MB / 0.678 GB, free: 92.63 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004775/0.8222, allocations: 2.486 MB / 0.6804 GB, free: 91.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.8232, allocations: 371.6 kB / 0.6808 GB, free: 90.85 MB / 474.7 MB Notification: Performance of SimCode: time 2.726e-06/0.8232, allocations: 0 / 0.6808 GB, free: 90.85 MB / 474.7 MB Notification: Performance of Templates: time 0.07/0.8932, allocations: 51.05 MB / 0.7306 GB, free: 42.36 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: 5.355730925919488]