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.00244/0.00244, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002875/0.002875, allocations: 165.2 kB / 23.52 MB, free: 0.9023 MB / 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 1.5/1.5, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2565/0.2565, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.795e-06/2.795e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.919e-05/4.199e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01673/0.01677, allocations: 15.69 MB / 362.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.03175, allocations: 5.202 MB / 367.8 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004014/0.03577, allocations: 119.4 kB / 367.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.04626, allocations: 4.474 MB / 372.4 MB, free: 232 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00938/0.05563, allocations: 2.947 MB / 375.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.05937, allocations: 1.427 MB / 376.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01373/0.0731, allocations: 8.429 MB / 385.2 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.08351, allocations: 5.687 MB / 390.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01254/0.09605, allocations: 4.183 MB / 395.1 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008806/0.1049, allocations: 4.345 MB / 399.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00218/0.107, allocations: 0.6055 MB / 400 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/0.1116, allocations: 1.755 MB / 401.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004919/0.1165, allocations: 3.6 MB / 405.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005668/0.1222, allocations: 2.243 MB / 407.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01939/0.1416, allocations: 12.64 MB / 420.3 MB, free: 176 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1416, allocations: 4 kB / 420.3 MB, free: 172 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1416, allocations: 0 / 420.3 MB, free: 172 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004261/0.142, allocations: 0 / 420.3 MB, free: 172 kB / 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.02473/0.1667, allocations: 9.471 MB / 429.8 MB, free: 6.602 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.1668, allocations: 12.03 kB / 429.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01978/0.1865, allocations: 4.973 MB / 434.7 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2781/0.4647, allocations: 3.908 MB / 438.6 MB, free: 83.85 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004716/0.4651, allocations: 392.4 kB / 439 MB, free: 83.84 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002693/0.4678, allocations: 0.5504 MB / 439.6 MB, free: 83.84 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03252/0.5004, allocations: 12.1 MB / 451.7 MB, free: 77 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002546/0.5006, allocations: 73.45 kB / 451.7 MB, free: 76.93 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/0.5021, allocations: 245 kB / 452 MB, free: 76.75 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004208/0.5063, allocations: 3.427 MB / 455.4 MB, free: 73.35 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02572/0.532, allocations: 7.466 MB / 462.9 MB, free: 65.92 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.1013/0.6333, allocations: 82.5 MB / 0.5326 GB, free: 13.09 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/0.6488, allocations: 3.531 MB / 0.536 GB, free: 9.5 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004284/0.6531, allocations: 1.05 MB / 0.5371 GB, free: 8.438 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02598/0.6791, allocations: 8.101 MB / 0.545 GB, free: 476 kB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.385e-05/0.6792, allocations: 71.27 kB / 0.545 GB, free: 396 kB / 394.8 MB Notification: Performance of pre-optimization done (n=284): time 8.215e-06/0.6792, allocations: 0 / 0.545 GB, free: 396 kB / 394.8 MB Notification: Performance of matching and sorting (n=345): time 0.07628/0.7555, allocations: 19.14 MB / 0.5637 GB, free: 13.38 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/0.7557, allocations: 188.3 kB / 0.5639 GB, free: 13.16 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01288/0.7685, allocations: 6.529 MB / 0.5703 GB, free: 6.629 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006747/0.7692, allocations: 73.7 kB / 0.5704 GB, free: 6.551 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006983/0.7762, allocations: 5.693 MB / 0.5759 GB, free: 0.8086 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002811/0.779, allocations: 1.474 MB / 0.5774 GB, free: 15.32 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004803/0.7838, allocations: 2.414 MB / 0.5797 GB, free: 12.89 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000257/0.7841, allocations: 476.8 kB / 0.5802 GB, free: 12.43 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003922/0.788, allocations: 1.319 MB / 0.5815 GB, free: 11.1 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2411/1.029, allocations: 9.812 MB / 0.591 GB, free: 128 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/1.042, allocations: 12.21 MB / 0.603 GB, free: 116.7 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003735/1.043, allocations: 53.5 kB / 0.603 GB, free: 116.7 MB / 442.8 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02663/1.069, allocations: 9.233 MB / 0.612 GB, free: 115.2 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001847/1.069, allocations: 87.75 kB / 0.6121 GB, free: 115.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003913/1.07, allocations: 192.8 kB / 0.6123 GB, free: 115.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005595/1.075, allocations: 1.241 MB / 0.6135 GB, free: 115.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00801/1.083, allocations: 2.211 MB / 0.6157 GB, free: 114.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009393/1.093, allocations: 5.478 MB / 0.621 GB, free: 112.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008377/1.101, allocations: 0.6074 MB / 0.6216 GB, free: 112.9 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/1.103, allocations: 0.5523 MB / 0.6222 GB, free: 112.9 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 (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.003847/1.107, allocations: 1.073 MB / 0.6232 GB, free: 112.5 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.108, allocations: 0.5972 MB / 0.6238 GB, free: 112.5 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008577/1.117, allocations: 3.185 MB / 0.6269 GB, free: 112.1 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.708e-05/1.117, allocations: 41.34 kB / 0.6269 GB, free: 112.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.117, allocations: 12 kB / 0.627 GB, free: 112.1 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/1.117, allocations: 15.19 kB / 0.627 GB, free: 112.1 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.143, allocations: 11.96 MB / 0.6386 GB, free: 101.6 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/1.143, allocations: 12 kB / 0.6387 GB, free: 101.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/1.145, allocations: 0.4939 MB / 0.6391 GB, free: 101.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003946/1.149, allocations: 0.7967 MB / 0.6399 GB, free: 100.6 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003861/1.149, allocations: 64 kB / 0.64 GB, free: 100.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00704/1.156, allocations: 4.184 MB / 0.6441 GB, free: 96.55 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/1.157, allocations: 15.94 kB / 0.6441 GB, free: 96.54 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.167, allocations: 5.046 MB / 0.649 GB, free: 91.5 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003022/1.17, allocations: 0.8411 MB / 0.6498 GB, free: 90.67 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.171, allocations: 63.98 kB / 0.6499 GB, free: 90.61 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/1.174, allocations: 195.8 kB / 0.6501 GB, free: 90.41 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000479/1.175, allocations: 229.3 kB / 0.6503 GB, free: 90.19 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/1.175, allocations: 107.8 kB / 0.6504 GB, free: 90.09 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00422/1.179, allocations: 2.668 MB / 0.653 GB, free: 87.43 MB / 442.8 MB Notification: Performance of sort global known variables: time 7e-08/1.179, allocations: 4 kB / 0.653 GB, free: 87.43 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.008664/1.188, allocations: 1.79 MB / 0.6548 GB, free: 85.65 MB / 442.8 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.0009191/1.189, allocations: 301 kB / 0.655 GB, free: 85.38 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01084/1.199, allocations: 5.579 MB / 0.6605 GB, free: 79.81 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.08e-05/1.199, allocations: 4 kB / 0.6605 GB, free: 79.81 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003118/1.203, allocations: 1.618 MB / 0.6621 GB, free: 78.17 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/1.207, allocations: 0.628 MB / 0.6627 GB, free: 77.55 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/1.229, allocations: 13.27 MB / 0.6756 GB, free: 64 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005167/1.234, allocations: 4.232 MB / 0.6798 GB, free: 59.72 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.006299/1.241, allocations: 2.494 MB / 0.6822 GB, free: 57.22 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.242, allocations: 376.4 kB / 0.6826 GB, free: 56.85 MB / 442.8 MB Notification: Performance of SimCode: time 1.673e-06/1.242, allocations: 0 / 0.6826 GB, free: 56.85 MB / 442.8 MB Notification: Performance of Templates: time 0.09547/1.337, allocations: 51.88 MB / 0.7332 GB, free: 5.102 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.458709875005297]