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.001484/0.001484, 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.00166/0.00166, allocations: 164.2 kB / 24.91 MB, free: 8.723 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.9553/0.9553, allocations: 177 MB / 205.2 MB, free: 5.473 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.2838/0.2838, allocations: 34.86 MB / 296.6 MB, free: 460 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.322e-06/1.322e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.193e-05, allocations: 2.312 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01105/0.01106, allocations: 15.27 MB / 341.2 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006725/0.01778, allocations: 5.424 MB / 346.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006194/0.0184, allocations: 111.5 kB / 346.7 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.02219, allocations: 4.469 MB / 351.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.02532, allocations: 2.916 MB / 354.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.02668, allocations: 1.423 MB / 355.5 MB, free: 9.445 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005248/0.03193, allocations: 8.79 MB / 364.3 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003597/0.03552, allocations: 5.792 MB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.03899, allocations: 4.659 MB / 374.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.04205, allocations: 4.072 MB / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005326/0.04259, allocations: 0.6015 MB / 379.4 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.04433, allocations: 1.724 MB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001963/0.04629, allocations: 3.541 MB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.04779, allocations: 2.2 MB / 386.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005604/0.05339, allocations: 7.917 MB / 394.8 MB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.05339, allocations: 0 / 394.8 MB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0534, allocations: 4 kB / 394.8 MB, free: 1.965 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.207e-05/0.05347, allocations: 0 / 394.8 MB, free: 1.965 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.007439/0.06091, allocations: 7.371 MB / 402.2 MB, free: 10.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.06095, allocations: 12.02 kB / 402.2 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/0.06618, allocations: 2.186 MB / 404.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.06948, allocations: 3.039 MB / 407.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.06966, allocations: 390.4 kB / 407.8 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006532/0.07031, allocations: 0.5582 MB / 408.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008978/0.07929, allocations: 8.689 MB / 417 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.0794, allocations: 71.44 kB / 417.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004151/0.07981, allocations: 247.8 kB / 417.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002624/0.08244, allocations: 3.085 MB / 420.4 MB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.09265, allocations: 4.866 MB / 425.3 MB, free: 2.223 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.2063/0.2989, allocations: 50.56 MB / 475.9 MB, free: 69.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005655/0.3046, allocations: 2.919 MB / 478.8 MB, free: 69.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007912/0.3054, allocations: 0.6942 MB / 479.5 MB, free: 69.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008559/0.3139, allocations: 7.024 MB / 486.5 MB, free: 68.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.314, allocations: 59.56 kB / 486.6 MB, free: 68.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 5.35e-06/0.314, allocations: 3.562 kB / 486.6 MB, free: 68.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=352): time 0.02202/0.336, allocations: 10.73 MB / 497.3 MB, free: 61.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.3361, allocations: 188.3 kB / 497.5 MB, free: 61.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.3388, allocations: 4.566 MB / 0.4903 GB, free: 57.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.339, allocations: 73.7 kB / 0.4904 GB, free: 57.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.34, allocations: 4.84 MB / 0.4951 GB, free: 52.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/0.3405, allocations: 1.348 MB / 0.4964 GB, free: 51.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.3417, allocations: 1.792 MB / 0.4981 GB, free: 49.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.633e-05/0.3417, allocations: 301.1 kB / 0.4984 GB, free: 49.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.3436, allocations: 1.29 MB / 0.4997 GB, free: 47.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/0.3465, allocations: 6.62 MB / 0.5062 GB, free: 38.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005777/0.3523, allocations: 8.707 MB / 0.5147 GB, free: 27.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.058e-05/0.3523, allocations: 60 kB / 0.5147 GB, free: 27.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.00807/0.3604, allocations: 6.913 MB / 0.5215 GB, free: 20.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.3605, allocations: 90.34 kB / 0.5216 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.3606, allocations: 200 kB / 0.5217 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/0.3626, allocations: 0.9682 MB / 0.5227 GB, free: 19.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/0.3662, allocations: 2.109 MB / 0.5248 GB, free: 17.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/0.3709, allocations: 3.603 MB / 0.5283 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/0.3751, allocations: 407.6 kB / 0.5287 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000489/0.3756, allocations: 487.9 kB / 0.5291 GB, free: 12.47 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.001932/0.3775, allocations: 0.8814 MB / 0.53 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006297/0.3782, allocations: 363.6 kB / 0.5303 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.3822, allocations: 2.282 MB / 0.5326 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.3823, allocations: 36 kB / 0.5326 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3823, allocations: 12 kB / 0.5326 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/0.3823, allocations: 19.88 kB / 0.5326 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.3939, allocations: 8.26 MB / 0.5407 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.3939, allocations: 12 kB / 0.5407 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.3953, allocations: 475.3 kB / 0.5412 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/0.3977, allocations: 0.8435 MB / 0.542 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.3979, allocations: 71.97 kB / 0.5421 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/0.4016, allocations: 2.46 MB / 0.5445 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/0.4016, allocations: 31.62 kB / 0.5445 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005492/0.4071, allocations: 3.613 MB / 0.548 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/0.4077, allocations: 480.4 kB / 0.5485 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/0.4082, allocations: 71.98 kB / 0.5485 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.4095, allocations: 75.97 kB / 0.5486 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/0.4099, allocations: 245.3 kB / 0.5488 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/0.4101, allocations: 83.98 kB / 0.5489 GB, free: 7.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001881/0.412, allocations: 1.684 MB / 0.5506 GB, free: 5.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.412, allocations: 0 / 0.5506 GB, free: 5.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00567/0.4176, allocations: 1.758 MB / 0.5523 GB, free: 3.91 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.0004988/0.4181, allocations: 279.4 kB / 0.5526 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005127/0.4233, allocations: 4.21 MB / 0.5567 GB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002043/0.4235, allocations: 124.2 kB / 0.5568 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4248, allocations: 1.116 MB / 0.5579 GB, free: 14.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.4266, allocations: 0.6303 MB / 0.5585 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.441, allocations: 13.18 MB / 0.5714 GB, free: 72 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.4427, allocations: 2.121 MB / 0.5734 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00173/0.4445, allocations: 0.7744 MB / 0.5742 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.4457, allocations: 0.8409 MB / 0.575 GB, free: 12.29 MB / 458.7 MB Notification: Performance of SimCode: time 1.083e-06/0.4457, allocations: 0 / 0.575 GB, free: 12.29 MB / 458.7 MB Notification: Performance of Templates: time 0.2227/0.6684, allocations: 56.64 MB / 0.6303 GB, free: 142.5 MB / 474.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 -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.759471619036049]