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.001547/0.001547, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001848/0.001848, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.9751/0.9751, allocations: 177 MB / 205.9 MB, free: 4.469 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.1701/0.1701, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.894e-06/1.894e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.881e-05, allocations: 3.297 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01269/0.01272, allocations: 15.27 MB / 395.3 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.02287, allocations: 5.199 MB / 400.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.02573, allocations: 115.4 kB / 400.6 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005335/0.03106, allocations: 4.407 MB / 405 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00838/0.03944, allocations: 2.916 MB / 407.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003958/0.0434, allocations: 1.419 MB / 409.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.05635, allocations: 8.793 MB / 418.1 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007406/0.06375, allocations: 5.659 MB / 423.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009216/0.07297, allocations: 4.674 MB / 428.4 MB, free: 6.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006447/0.07942, allocations: 4.264 MB / 432.7 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002147/0.08156, allocations: 0.5977 MB / 433.3 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/0.08506, allocations: 1.74 MB / 435 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003688/0.08875, allocations: 3.534 MB / 438.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004344/0.09309, allocations: 2.212 MB / 440.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009412/0.1025, allocations: 7.909 MB / 448.7 MB, free: 1.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1025, allocations: 0 / 448.7 MB, free: 1.789 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1025, allocations: 0 / 448.7 MB, free: 1.789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003819/0.1029, allocations: 4 kB / 448.7 MB, free: 1.785 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.0145/0.1174, allocations: 8.252 MB / 457 MB, free: 9.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1174, allocations: 12.03 kB / 457 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007841/0.1253, allocations: 3.078 MB / 460 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005635/0.1309, allocations: 3.29 MB / 463.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.1312, allocations: 394.4 kB / 463.7 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.1324, allocations: 0.5582 MB / 464.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/0.1509, allocations: 9.772 MB / 474 MB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002473/0.1512, allocations: 67.41 kB / 474.1 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008243/0.152, allocations: 247.8 kB / 474.4 MB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003379/0.1554, allocations: 3.081 MB / 477.4 MB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01533/0.1707, allocations: 5.097 MB / 482.5 MB, free: 14.34 MB / 410.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.3113/0.482, allocations: 69.19 MB / 0.5388 GB, free: 33.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009406/0.4914, allocations: 3.081 MB / 0.5418 GB, free: 33.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.4932, allocations: 0.8547 MB / 0.5426 GB, free: 32.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/0.5058, allocations: 7.393 MB / 0.5499 GB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.5059, allocations: 66.89 kB / 0.5499 GB, free: 30.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 5.992e-06/0.5059, allocations: 0 / 0.5499 GB, free: 30.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=352): time 0.03251/0.5384, allocations: 12.27 MB / 0.5619 GB, free: 22.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.5384, allocations: 191.7 kB / 0.5621 GB, free: 22.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/0.5436, allocations: 5.057 MB / 0.567 GB, free: 18.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007823/0.5444, allocations: 79.5 kB / 0.5671 GB, free: 18.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002353/0.5467, allocations: 5.393 MB / 0.5724 GB, free: 13.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/0.5484, allocations: 1.405 MB / 0.5737 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/0.5503, allocations: 2.074 MB / 0.5758 GB, free: 10.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.5503, allocations: 476.8 kB / 0.5762 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.552, allocations: 1.049 MB / 0.5772 GB, free: 8.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005471/0.5575, allocations: 9.275 MB / 0.5863 GB, free: 12.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/0.5702, allocations: 11.24 MB / 0.5973 GB, free: 14.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002229/0.5704, allocations: 52 kB / 0.5973 GB, free: 14.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01862/0.589, allocations: 8.107 MB / 0.6052 GB, free: 6.688 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.5892, allocations: 88.94 kB / 0.6053 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002391/0.5894, allocations: 192 kB / 0.6055 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/0.5922, allocations: 0.9845 MB / 0.6065 GB, free: 5.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005996/0.5982, allocations: 2.109 MB / 0.6085 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/0.6043, allocations: 4.331 MB / 0.6128 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008947/0.6132, allocations: 399.7 kB / 0.6131 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/0.6151, allocations: 491.2 kB / 0.6136 GB, free: 14.08 MB / 458.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.003717/0.6188, allocations: 0.9251 MB / 0.6145 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001731/0.6205, allocations: 0.6012 MB / 0.6151 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.6257, allocations: 2.633 MB / 0.6177 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-05/0.6257, allocations: 36 kB / 0.6177 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.6257, allocations: 8 kB / 0.6177 GB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.6258, allocations: 11.95 kB / 0.6177 GB, free: 9.805 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02252/0.6483, allocations: 9.734 MB / 0.6272 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/0.6483, allocations: 12 kB / 0.6272 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.6497, allocations: 471.3 kB / 0.6277 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.6517, allocations: 0.6166 MB / 0.6283 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002909/0.652, allocations: 79.92 kB / 0.6284 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.6559, allocations: 3.128 MB / 0.6314 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.6559, allocations: 23.88 kB / 0.6314 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/0.6631, allocations: 4.22 MB / 0.6356 GB, free: 7.801 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/0.665, allocations: 497.6 kB / 0.636 GB, free: 7.316 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006558/0.6656, allocations: 68 kB / 0.6361 GB, free: 7.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.6669, allocations: 78.44 kB / 0.6362 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004068/0.6673, allocations: 245.2 kB / 0.6364 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.6675, allocations: 90.72 kB / 0.6365 GB, free: 6.844 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003197/0.6707, allocations: 2.001 MB / 0.6385 GB, free: 5.062 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6707, allocations: 0 / 0.6385 GB, free: 5.062 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01113/0.6818, allocations: 1.758 MB / 0.6402 GB, free: 3.305 MB / 474.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.001123/0.683, allocations: 293.5 kB / 0.6405 GB, free: 3.016 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009877/0.6928, allocations: 4.636 MB / 0.645 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.248e-05/0.6929, allocations: 4 kB / 0.645 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/0.6953, allocations: 1.296 MB / 0.6462 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/0.6991, allocations: 0.6437 MB / 0.6469 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/0.7259, allocations: 13.02 MB / 0.6596 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004634/0.7305, allocations: 2.129 MB / 0.6617 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003266/0.7338, allocations: 0.79 MB / 0.6624 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/0.7353, allocations: 0.8886 MB / 0.6633 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of SimCode: time 3.897e-06/0.7353, allocations: 0 / 0.6633 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.277/1.012, allocations: 58.08 MB / 0.72 GB, free: 139.8 MB / 0.4948 GB " [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: 5.764649767894298]