Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001102/0.001102, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001356/0.001356, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9685/0.9685, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1621/0.1621, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.715e-05/3.986e-05, allocations: 6.25 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01686/0.0169, allocations: 15.4 MB / 363.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.0292, allocations: 5.159 MB / 368.7 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.03143, allocations: 119.4 kB / 368.8 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.03642, allocations: 4.427 MB / 373.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005447/0.04187, allocations: 2.955 MB / 376.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.04403, allocations: 1.431 MB / 377.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007007/0.05104, allocations: 8.43 MB / 386 MB, free: 3.137 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004901/0.05594, allocations: 5.679 MB / 391.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00485/0.06079, allocations: 4.53 MB / 396.2 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004022/0.06481, allocations: 4.283 MB / 400.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008068/0.06562, allocations: 0.6016 MB / 401.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.06823, allocations: 1.74 MB / 402.9 MB, free: 2.203 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002292/0.07053, allocations: 3.592 MB / 406.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.07247, allocations: 2.232 MB / 408.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008136/0.08061, allocations: 8.002 MB / 416.7 MB, free: 4.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.08061, allocations: 0 / 416.7 MB, free: 4.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.08061, allocations: 0 / 416.7 MB, free: 4.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001672/0.08078, allocations: 0 / 416.7 MB, free: 4.332 MB / 346.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.01058/0.09136, allocations: 8.314 MB / 425 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.09141, allocations: 12.03 kB / 425 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007183/0.0986, allocations: 3.067 MB / 428.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/0.103, allocations: 3.365 MB / 431.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006075/0.1036, allocations: 394.3 kB / 431.8 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007197/0.1043, allocations: 0.5543 MB / 432.4 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3375/0.4418, allocations: 9.776 MB / 442.2 MB, free: 77.13 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.442, allocations: 65.44 kB / 442.2 MB, free: 77.13 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004806/0.4425, allocations: 247.5 kB / 442.5 MB, free: 77.13 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003156/0.4456, allocations: 3.086 MB / 445.5 MB, free: 77.12 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.4567, allocations: 5.077 MB / 450.6 MB, free: 76.93 MB / 362.8 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.04381/0.5005, allocations: 69.25 MB / 0.5077 GB, free: 9.23 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006344/0.5068, allocations: 3.073 MB / 0.5107 GB, free: 6.129 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008817/0.5077, allocations: 0.8438 MB / 0.5115 GB, free: 5.262 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009337/0.517, allocations: 7.433 MB / 0.5188 GB, free: 14 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.5171, allocations: 71.33 kB / 0.5188 GB, free: 13.92 MB / 378.8 MB Notification: Performance of pre-optimization done (n=286): time 4.188e-06/0.5171, allocations: 0 / 0.5188 GB, free: 13.92 MB / 378.8 MB Notification: Performance of matching and sorting (n=352): time 0.03599/0.5531, allocations: 12.32 MB / 0.5309 GB, free: 2.055 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/0.5532, allocations: 196.4 kB / 0.5311 GB, free: 1.824 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007008/0.5602, allocations: 5.109 MB / 0.536 GB, free: 12.86 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007778/0.561, allocations: 77.69 kB / 0.5361 GB, free: 12.77 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004281/0.5652, allocations: 5.406 MB / 0.5414 GB, free: 7.34 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002297/0.5675, allocations: 1.403 MB / 0.5428 GB, free: 5.926 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003099/0.5706, allocations: 2.078 MB / 0.5448 GB, free: 3.832 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5708, allocations: 476.8 kB / 0.5453 GB, free: 3.363 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.573, allocations: 1.046 MB / 0.5463 GB, free: 2.312 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007565/0.5805, allocations: 9.273 MB / 0.5553 GB, free: 5.332 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/0.5922, allocations: 11.23 MB / 0.5663 GB, free: 6.402 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002741/0.5925, allocations: 52 kB / 0.5663 GB, free: 6.352 MB / 426.8 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01836/0.6109, allocations: 8.107 MB / 0.5743 GB, free: 14.2 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.611, allocations: 88 kB / 0.5743 GB, free: 14.11 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000218/0.6112, allocations: 200 kB / 0.5745 GB, free: 13.92 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/0.6136, allocations: 0.9872 MB / 0.5755 GB, free: 12.93 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/0.619, allocations: 2.105 MB / 0.5776 GB, free: 10.82 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.6248, allocations: 4.33 MB / 0.5818 GB, free: 6.367 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00571/0.6305, allocations: 395.7 kB / 0.5822 GB, free: 5.98 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/0.6319, allocations: 495.9 kB / 0.5826 GB, free: 5.496 MB / 442.8 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.00293/0.6348, allocations: 0.9176 MB / 0.5835 GB, free: 4.562 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/0.6361, allocations: 0.6021 MB / 0.5841 GB, free: 3.957 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.6407, allocations: 2.651 MB / 0.5867 GB, free: 1.254 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/0.6408, allocations: 43.98 kB / 0.5868 GB, free: 1.211 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.6408, allocations: 4 kB / 0.5868 GB, free: 1.207 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.6408, allocations: 15.95 kB / 0.5868 GB, free: 1.191 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2171/0.8579, allocations: 9.745 MB / 0.5963 GB, free: 132.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.858, allocations: 12.42 kB / 0.5963 GB, free: 132.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.8592, allocations: 481 kB / 0.5968 GB, free: 132.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.8609, allocations: 0.6147 MB / 0.5974 GB, free: 132.7 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003115/0.8612, allocations: 76.59 kB / 0.5974 GB, free: 132.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.8645, allocations: 3.117 MB / 0.6005 GB, free: 131 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.8645, allocations: 28.03 kB / 0.6005 GB, free: 131 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00569/0.8702, allocations: 4.221 MB / 0.6046 GB, free: 129.3 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/0.8725, allocations: 0.7517 MB / 0.6054 GB, free: 129.3 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008992/0.8734, allocations: 71.27 kB / 0.6054 GB, free: 129.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.8748, allocations: 68.66 kB / 0.6055 GB, free: 129.3 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/0.8751, allocations: 251.2 kB / 0.6057 GB, free: 129.3 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.8753, allocations: 87.34 kB / 0.6058 GB, free: 129.3 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002707/0.878, allocations: 2.037 MB / 0.6078 GB, free: 129.1 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/0.878, allocations: 0 / 0.6078 GB, free: 129.1 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.008139/0.8861, allocations: 1.799 MB / 0.6096 GB, free: 129.1 MB / 442.8 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.001023/0.8871, allocations: 307 kB / 0.6099 GB, free: 129 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.00659/0.8937, allocations: 4.639 MB / 0.6144 GB, free: 128.3 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/0.8937, allocations: 2.688 kB / 0.6144 GB, free: 128.3 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.8954, allocations: 1.306 MB / 0.6157 GB, free: 127.9 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/0.8984, allocations: 0.6423 MB / 0.6163 GB, free: 127.8 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/0.9191, allocations: 13.06 MB / 0.629 GB, free: 115.8 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003811/0.9229, allocations: 2.141 MB / 0.6311 GB, free: 114.2 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003397/0.9263, allocations: 0.7833 MB / 0.6319 GB, free: 113.7 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/0.9279, allocations: 0.891 MB / 0.6328 GB, free: 112.8 MB / 442.8 MB Notification: Performance of SimCode: time 1.933e-06/0.9279, allocations: 4 kB / 0.6328 GB, free: 112.8 MB / 442.8 MB Notification: Performance of Templates: time 0.07879/1.007, allocations: 57.73 MB / 0.6892 GB, free: 55.75 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.403749994002283]