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.001064/0.001064, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001003/0.001003, allocations: 161 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.9888/0.9888, allocations: 177.1 MB / 205 MB, free: 5.633 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.2763/0.2763, allocations: 32.81 MB / 294.3 MB, free: 1.27 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 1.263e-06/1.263e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.679e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01212/0.01215, allocations: 15.67 MB / 391.7 MB, free: 4.941 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009876/0.02203, allocations: 5.255 MB / 396.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00294/0.02497, allocations: 111.5 kB / 397 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006255/0.03122, allocations: 4.474 MB / 401.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006732/0.03795, allocations: 2.897 MB / 404.4 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.04078, allocations: 1.423 MB / 405.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009073/0.04986, allocations: 8.784 MB / 414.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007042/0.0569, allocations: 5.671 MB / 420.3 MB, free: 8.18 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007555/0.06445, allocations: 4.155 MB / 424.4 MB, free: 4.016 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006691/0.07114, allocations: 4.314 MB / 428.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002078/0.07322, allocations: 0.6055 MB / 429.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004013/0.07723, allocations: 1.752 MB / 431.1 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004328/0.08156, allocations: 3.549 MB / 434.7 MB, free: 9.773 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003833/0.08539, allocations: 2.22 MB / 436.9 MB, free: 7.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1859/0.2713, allocations: 7.947 MB / 444.8 MB, free: 68.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2713, allocations: 0 / 444.8 MB, free: 68.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2713, allocations: 0 / 444.8 MB, free: 68.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004472/0.2718, allocations: 0 / 444.8 MB, free: 68.62 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.01246/0.2842, allocations: 8.661 MB / 453.5 MB, free: 65.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2843, allocations: 8.562 kB / 453.5 MB, free: 65.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009096/0.2934, allocations: 4.978 MB / 458.5 MB, free: 65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006115/0.2995, allocations: 3.804 MB / 462.3 MB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.2997, allocations: 394.5 kB / 462.7 MB, free: 64.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009761/0.3007, allocations: 0.555 MB / 463.2 MB, free: 64.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/0.3199, allocations: 11.29 MB / 474.5 MB, free: 60.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002639/0.3201, allocations: 66.91 kB / 474.6 MB, free: 60 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006666/0.3208, allocations: 249.8 kB / 474.8 MB, free: 59.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003643/0.3245, allocations: 3.43 MB / 478.2 MB, free: 59.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02078/0.3452, allocations: 6.816 MB / 485.1 MB, free: 58.59 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.06318/0.4084, allocations: 70.57 MB / 0.5426 GB, free: 17.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008407/0.4168, allocations: 3.42 MB / 0.546 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.4184, allocations: 0.9982 MB / 0.5469 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/0.4306, allocations: 7.853 MB / 0.5546 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.817e-05/0.4306, allocations: 69.16 kB / 0.5547 GB, free: 6.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 6.883e-06/0.4306, allocations: 4 kB / 0.5547 GB, free: 6.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.04617/0.4768, allocations: 18.65 MB / 0.5729 GB, free: 3.605 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/0.4769, allocations: 192 kB / 0.5731 GB, free: 3.383 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007073/0.484, allocations: 5.106 MB / 0.5781 GB, free: 14.29 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005186/0.4845, allocations: 77.7 kB / 0.5781 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00429/0.4888, allocations: 5.362 MB / 0.5834 GB, free: 8.887 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001923/0.4907, allocations: 1.368 MB / 0.5847 GB, free: 7.535 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002974/0.4937, allocations: 2.034 MB / 0.5867 GB, free: 5.488 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4938, allocations: 484.7 kB / 0.5871 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/0.4969, allocations: 1.147 MB / 0.5883 GB, free: 3.859 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007195/0.5041, allocations: 9.311 MB / 0.5974 GB, free: 6.922 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.205/0.7091, allocations: 11.51 MB / 0.6086 GB, free: 109.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002332/0.7093, allocations: 54.12 kB / 0.6087 GB, free: 109.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.01861/0.7279, allocations: 8.808 MB / 0.6173 GB, free: 109 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.7281, allocations: 90.69 kB / 0.6173 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003011/0.7284, allocations: 198.5 kB / 0.6175 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003123/0.7315, allocations: 1.127 MB / 0.6186 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005094/0.7366, allocations: 2.216 MB / 0.6208 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/0.7423, allocations: 4.587 MB / 0.6253 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005251/0.7475, allocations: 0.5919 MB / 0.6259 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/0.7491, allocations: 0.5554 MB / 0.6264 GB, free: 106.7 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.003545/0.7526, allocations: 0.9128 MB / 0.6273 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/0.7538, allocations: 0.5972 MB / 0.6279 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006342/0.7601, allocations: 2.91 MB / 0.6307 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.271e-05/0.7602, allocations: 38.55 kB / 0.6307 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.7602, allocations: 6.562 kB / 0.6308 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/0.7602, allocations: 18.95 kB / 0.6308 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/0.7831, allocations: 9.81 MB / 0.6404 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.7831, allocations: 12.56 kB / 0.6404 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/0.7848, allocations: 0.4942 MB / 0.6408 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002644/0.7875, allocations: 0.7066 MB / 0.6415 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002844/0.7878, allocations: 69.7 kB / 0.6416 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00504/0.7928, allocations: 3.465 MB / 0.645 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.7928, allocations: 15.03 kB / 0.645 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008162/0.801, allocations: 4.51 MB / 0.6494 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.8026, allocations: 0.4986 MB / 0.6499 GB, free: 99.49 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006779/0.8033, allocations: 63.55 kB / 0.65 GB, free: 99.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.805, allocations: 181.2 kB / 0.6501 GB, free: 99.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/0.8055, allocations: 227.7 kB / 0.6503 GB, free: 99.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.8056, allocations: 108.6 kB / 0.6504 GB, free: 99.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003607/0.8093, allocations: 2.166 MB / 0.6526 GB, free: 98.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8093, allocations: 0 / 0.6526 GB, free: 98.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007477/0.8167, allocations: 1.75 MB / 0.6543 GB, free: 98.47 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.0009582/0.8177, allocations: 277.9 kB / 0.6545 GB, free: 98.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009189/0.8269, allocations: 4.952 MB / 0.6594 GB, free: 96.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/0.8269, allocations: 3.969 kB / 0.6594 GB, free: 96.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00256/0.8295, allocations: 1.408 MB / 0.6607 GB, free: 96.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/0.8329, allocations: 0.6241 MB / 0.6614 GB, free: 95.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/0.8542, allocations: 12.98 MB / 0.674 GB, free: 84.49 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/0.857, allocations: 2.127 MB / 0.6761 GB, free: 82.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004851/0.8619, allocations: 2.488 MB / 0.6785 GB, free: 81.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/0.8632, allocations: 372 kB / 0.6789 GB, free: 81.18 MB / 474.7 MB Notification: Performance of SimCode: time 3.116e-06/0.8632, allocations: 0 / 0.6789 GB, free: 81.18 MB / 474.7 MB Notification: Performance of Templates: time 0.07153/0.9347, allocations: 51.05 MB / 0.7287 GB, free: 34.01 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.481881871819496]