Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9662/0.9662, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2664/0.2664, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.616e-05, allocations: 3.297 kB / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01692/0.01695, allocations: 15.33 MB / 341.3 MB, free: 7.715 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.02773, allocations: 5.415 MB / 346.7 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.0305, allocations: 115.5 kB / 346.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005496/0.036, allocations: 4.391 MB / 351.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006288/0.04228, allocations: 2.877 MB / 354.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.04483, allocations: 1.427 MB / 355.5 MB, free: 9.445 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00929/0.05412, allocations: 8.79 MB / 364.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007094/0.06121, allocations: 5.472 MB / 369.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00811/0.06932, allocations: 4.573 MB / 374.3 MB, free: 6.492 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006237/0.07556, allocations: 4.08 MB / 378.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002112/0.07767, allocations: 0.6016 MB / 379 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/0.08132, allocations: 1.779 MB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004152/0.08547, allocations: 3.538 MB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004624/0.0901, allocations: 2.204 MB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.1009, allocations: 7.913 MB / 394.4 MB, free: 2.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1009, allocations: 4 kB / 394.4 MB, free: 2.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1009, allocations: 4 kB / 394.5 MB, free: 2.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003994/0.1013, allocations: 0 / 394.5 MB, free: 2.309 MB / 362.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.01226/0.1136, allocations: 7.367 MB / 401.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1136, allocations: 12.03 kB / 401.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006785/0.1204, allocations: 2.19 MB / 404 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005178/0.1256, allocations: 3.035 MB / 407.1 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.1258, allocations: 394.4 kB / 407.4 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.127, allocations: 0.5504 MB / 408 MB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.141, allocations: 8.689 MB / 416.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/0.1412, allocations: 67.44 kB / 416.7 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005094/0.1417, allocations: 247.8 kB / 417 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002622/0.1443, allocations: 3.093 MB / 420.1 MB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.155, allocations: 4.868 MB / 424.9 MB, free: 2.57 MB / 394.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.2179/0.3729, allocations: 50.57 MB / 475.5 MB, free: 69.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006872/0.3798, allocations: 2.92 MB / 478.4 MB, free: 69.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.3808, allocations: 0.6911 MB / 479.1 MB, free: 69.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009569/0.3904, allocations: 7.013 MB / 486.1 MB, free: 68.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3904, allocations: 61.81 kB / 486.2 MB, free: 68.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 4.198e-06/0.3904, allocations: 0 / 486.2 MB, free: 68.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=352): time 0.02414/0.4146, allocations: 10.74 MB / 496.9 MB, free: 61.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.4146, allocations: 188.4 kB / 497.1 MB, free: 61.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/0.4183, allocations: 4.562 MB / 0.4899 GB, free: 57.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000309/0.4186, allocations: 81.69 kB / 0.49 GB, free: 57.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.4202, allocations: 4.827 MB / 0.4947 GB, free: 52.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007592/0.4209, allocations: 1.348 MB / 0.496 GB, free: 51.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.4222, allocations: 1.8 MB / 0.4978 GB, free: 49.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.4222, allocations: 309 kB / 0.4981 GB, free: 49.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.4241, allocations: 1.286 MB / 0.4993 GB, free: 47.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002935/0.427, allocations: 6.622 MB / 0.5058 GB, free: 38.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00526/0.4323, allocations: 8.715 MB / 0.5143 GB, free: 27.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-05/0.4324, allocations: 56 kB / 0.5144 GB, free: 27.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.008674/0.4411, allocations: 6.908 MB / 0.5211 GB, free: 20.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.4411, allocations: 88 kB / 0.5212 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/0.4413, allocations: 196.1 kB / 0.5214 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.4435, allocations: 0.9682 MB / 0.5223 GB, free: 19.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/0.4476, allocations: 2.219 MB / 0.5245 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00437/0.452, allocations: 3.606 MB / 0.528 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/0.4566, allocations: 411.5 kB / 0.5284 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000988/0.4575, allocations: 488 kB / 0.5289 GB, free: 12.34 MB / 410.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 (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.00257/0.4601, allocations: 0.8784 MB / 0.5297 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.4611, allocations: 366.6 kB / 0.5301 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004517/0.4656, allocations: 2.282 MB / 0.5323 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/0.4657, allocations: 43.98 kB / 0.5324 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.4657, allocations: 8 kB / 0.5324 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.4657, allocations: 15.94 kB / 0.5324 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.4793, allocations: 8.255 MB / 0.5404 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.4794, allocations: 12.19 kB / 0.5405 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.4811, allocations: 0.511 MB / 0.541 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.4836, allocations: 0.861 MB / 0.5418 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/0.4838, allocations: 68 kB / 0.5419 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/0.4878, allocations: 2.466 MB / 0.5443 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.4878, allocations: 19.94 kB / 0.5443 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006226/0.494, allocations: 3.62 MB / 0.5478 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.4951, allocations: 480.4 kB / 0.5483 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005902/0.4957, allocations: 67.98 kB / 0.5483 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.4971, allocations: 67.98 kB / 0.5484 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/0.4975, allocations: 261.1 kB / 0.5487 GB, free: 7.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/0.4977, allocations: 87.98 kB / 0.5487 GB, free: 7.137 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002393/0.5001, allocations: 1.673 MB / 0.5504 GB, free: 5.477 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5001, allocations: 0 / 0.5504 GB, free: 5.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006612/0.5067, allocations: 1.754 MB / 0.5521 GB, free: 3.723 MB / 426.7 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.0006994/0.5074, allocations: 272.7 kB / 0.5524 GB, free: 3.445 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007035/0.5144, allocations: 4.222 MB / 0.5565 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002669/0.5147, allocations: 120.2 kB / 0.5566 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.5164, allocations: 1.117 MB / 0.5577 GB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/0.5194, allocations: 0.6242 MB / 0.5583 GB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/0.5385, allocations: 13.18 MB / 0.5712 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002175/0.5407, allocations: 2.117 MB / 0.5732 GB, free: 13.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002318/0.543, allocations: 0.781 MB / 0.574 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/0.5444, allocations: 0.8409 MB / 0.5748 GB, free: 12.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.635e-06/0.5444, allocations: 0 / 0.5748 GB, free: 12.1 MB / 458.7 MB Notification: Performance of Templates: time 0.2329/0.7772, allocations: 56.63 MB / 0.6301 GB, free: 168.1 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.923279964830726]