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.001435/0.001435, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001619/0.001619, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.2447/0.2447, allocations: 46.95 MB / 360.9 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002247/0.002247, allocations: 67.91 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3697, allocations: 66.04 MB / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02111/0.3908, allocations: 16.35 MB / 0.5771 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.4042, allocations: 5.396 MB / 0.5824 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.4079, allocations: 119.4 kB / 0.5825 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008973/0.4169, allocations: 4.232 MB / 0.5866 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008363/0.4253, allocations: 2.805 MB / 0.5893 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.4287, allocations: 1.267 MB / 0.5906 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.4419, allocations: 7.741 MB / 0.5981 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007649/0.4496, allocations: 4.729 MB / 0.6028 GB, free: 9.543 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006208/0.4558, allocations: 2.714 MB / 0.6054 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007795/0.4636, allocations: 4.093 MB / 0.6094 GB, free: 2.715 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.4655, allocations: 0.5977 MB / 0.61 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.47, allocations: 1.799 MB / 0.6117 GB, free: 324 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00468/0.4746, allocations: 3.366 MB / 0.615 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007564/0.4822, allocations: 3.771 MB / 0.6187 GB, free: 9.141 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01914/0.5013, allocations: 12.35 MB / 0.6308 GB, free: 12.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5013, allocations: 0 / 0.6308 GB, free: 12.75 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5013, allocations: 0 / 0.6308 GB, free: 12.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004637/0.5018, allocations: 0 / 0.6308 GB, free: 12.75 MB / 478.1 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.02303/0.5248, allocations: 7.97 MB / 0.6386 GB, free: 4.703 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5249, allocations: 16.03 kB / 0.6386 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/0.5416, allocations: 3.989 MB / 0.6425 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.5554, allocations: 4.162 MB / 0.6465 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006048/0.556, allocations: 394 kB / 0.6469 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003114/0.5591, allocations: 0.5504 MB / 0.6474 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04902/0.6081, allocations: 18.89 MB / 0.6659 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003388/0.6085, allocations: 75.33 kB / 0.666 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/0.6102, allocations: 247.8 kB / 0.6662 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009169/0.6193, allocations: 3.428 MB / 0.6695 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05936/0.6787, allocations: 16.65 MB / 0.6858 GB, free: 3.18 MB / 0.5137 GB 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.4851/1.164, allocations: 66.77 MB / 0.751 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/1.179, allocations: 5.144 MB / 0.756 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/1.182, allocations: 2.648 MB / 0.7586 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02126/1.204, allocations: 11.27 MB / 0.7696 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/1.204, allocations: 58.84 kB / 0.7697 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 6.292e-06/1.204, allocations: 0 / 0.7697 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.08518/1.289, allocations: 25.05 MB / 0.7941 GB, free: 85.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/1.289, allocations: 184.3 kB / 0.7943 GB, free: 85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009206/1.298, allocations: 5.897 MB / 0.8001 GB, free: 79.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008945/1.299, allocations: 73.7 kB / 0.8001 GB, free: 79.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002709/1.302, allocations: 5.156 MB / 0.8052 GB, free: 74.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.303, allocations: 1.34 MB / 0.8065 GB, free: 72.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002104/1.305, allocations: 1.925 MB / 0.8084 GB, free: 71.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/1.305, allocations: 308.4 kB / 0.8087 GB, free: 70.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004127/1.309, allocations: 3.361 MB / 0.8119 GB, free: 67.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006205/1.316, allocations: 8.872 MB / 0.8206 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.328, allocations: 13.2 MB / 0.8335 GB, free: 40.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.328, allocations: 56 kB / 0.8335 GB, free: 40.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0266/1.355, allocations: 13.01 MB / 0.8463 GB, free: 26.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003287/1.355, allocations: 88.69 kB / 0.8463 GB, free: 26.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004562/1.355, allocations: 196 kB / 0.8465 GB, free: 26.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004202/1.36, allocations: 1.318 MB / 0.8478 GB, free: 25.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007478/1.367, allocations: 2.203 MB / 0.85 GB, free: 23.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.378, allocations: 7.747 MB / 0.8575 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008208/1.386, allocations: 0.5151 MB / 0.858 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002442/1.389, allocations: 0.5469 MB / 0.8586 GB, free: 14.26 MB / 0.5606 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.00671/1.396, allocations: 3.452 MB / 0.8619 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.397, allocations: 0.551 MB / 0.8625 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.408, allocations: 5.384 MB / 0.8677 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.782e-05/1.408, allocations: 39.28 kB / 0.8678 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/1.408, allocations: 11.98 kB / 0.8678 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/1.408, allocations: 11.95 kB / 0.8678 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03377/1.442, allocations: 13.89 MB / 0.8814 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.338e-05/1.442, allocations: 15.98 kB / 0.8814 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/1.444, allocations: 0.4953 MB / 0.8819 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003722/1.448, allocations: 0.8047 MB / 0.8826 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005766/1.449, allocations: 67.98 kB / 0.8827 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.46, allocations: 5.71 MB / 0.8883 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.679e-05/1.46, allocations: 15.94 kB / 0.8883 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/1.477, allocations: 8.32 MB / 0.8964 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/1.479, allocations: 0.5079 MB / 0.8969 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/1.48, allocations: 71.94 kB / 0.897 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.483, allocations: 127.9 kB / 0.8971 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007034/1.484, allocations: 239.6 kB / 0.8973 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003132/1.484, allocations: 99.98 kB / 0.8974 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007798/1.492, allocations: 3.654 MB / 0.901 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/1.492, allocations: 0 / 0.901 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01022/1.502, allocations: 1.619 MB / 0.9026 GB, free: 0.5273 MB / 0.5919 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.001124/1.504, allocations: 269.7 kB / 0.9028 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01615/1.52, allocations: 7.582 MB / 0.9102 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.01e-05/1.52, allocations: 5.75 kB / 0.9103 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004904/1.525, allocations: 2.214 MB / 0.9124 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00694/1.532, allocations: 0.7048 MB / 0.9131 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03749/1.569, allocations: 15.59 MB / 0.9283 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01241/1.581, allocations: 5.156 MB / 0.9334 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.009947/1.591, allocations: 2.966 MB / 0.9363 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/1.593, allocations: 383.3 kB / 0.9366 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of SimCode: time 1.653e-06/1.593, allocations: 0 / 0.9366 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of Templates: time 0.1308/1.724, allocations: 59.01 MB / 0.9943 GB, free: 2.707 MB / 0.6856 GB " [Timeout remaining time 658] 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: 9.575643290998414]