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.001963/0.001963, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002394/0.002394, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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 1.523/1.523, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3569/0.3569, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.813e-06/1.813e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.458e-05/4.64e-05, allocations: 6.25 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02195/0.02199, allocations: 14.14 MB / 391.3 MB, free: 4.719 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0184/0.04039, allocations: 5.119 MB / 396.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00426/0.04465, allocations: 115.5 kB / 396.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01277/0.05742, allocations: 4.329 MB / 400.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.06931, allocations: 2.893 MB / 403.8 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004963/0.07427, allocations: 1.423 MB / 405.2 MB, free: 6.797 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01767/0.09194, allocations: 8.794 MB / 414 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.1021, allocations: 5.651 MB / 419.7 MB, free: 8.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009647/0.1118, allocations: 4.132 MB / 423.8 MB, free: 4.109 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007655/0.1194, allocations: 4.24 MB / 428 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.121, allocations: 0.6094 MB / 428.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.1249, allocations: 1.752 MB / 430.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004592/0.1295, allocations: 3.522 MB / 433.9 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003826/0.1333, allocations: 2.212 MB / 436.1 MB, free: 7.746 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1919/0.3252, allocations: 12.55 MB / 448.7 MB, free: 65.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3252, allocations: 1.625 kB / 448.7 MB, free: 65.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3252, allocations: 0 / 448.7 MB, free: 65.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000533/0.3257, allocations: 0 / 448.7 MB, free: 65.84 MB / 410.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.02198/0.3477, allocations: 8.083 MB / 456.8 MB, free: 62.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3478, allocations: 13 kB / 456.8 MB, free: 62.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/0.3667, allocations: 5.145 MB / 461.9 MB, free: 62.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.3769, allocations: 4.188 MB / 466.1 MB, free: 61.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/0.3773, allocations: 392.9 kB / 466.5 MB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002891/0.3802, allocations: 0.5608 MB / 467.1 MB, free: 61.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03997/0.4202, allocations: 19.03 MB / 486.1 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004682/0.4207, allocations: 69.47 kB / 486.1 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002429/0.4231, allocations: 248.9 kB / 486.4 MB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005127/0.4282, allocations: 3.433 MB / 489.8 MB, free: 53.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03844/0.4667, allocations: 16.71 MB / 0.4947 GB, free: 48.68 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.09528/0.5619, allocations: 62.72 MB / 0.5559 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/0.5802, allocations: 5.395 MB / 0.5612 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005526/0.5857, allocations: 2.719 MB / 0.5638 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02897/0.6147, allocations: 11.09 MB / 0.5747 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.777e-05/0.6147, allocations: 72.11 kB / 0.5747 GB, free: 15.44 MB / 458.7 MB Notification: Performance of pre-optimization done (n=288): time 6.993e-06/0.6148, allocations: 0 / 0.5747 GB, free: 15.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=355): time 0.111/0.7257, allocations: 27.56 MB / 0.6017 GB, free: 4.047 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/0.7259, allocations: 196.4 kB / 0.6018 GB, free: 3.816 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.179/0.9049, allocations: 5.799 MB / 0.6075 GB, free: 150.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006112/0.9055, allocations: 78.14 kB / 0.6076 GB, free: 150.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002766/0.9083, allocations: 5.107 MB / 0.6126 GB, free: 147.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/0.9096, allocations: 1.358 MB / 0.6139 GB, free: 146.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002571/0.9122, allocations: 1.895 MB / 0.6157 GB, free: 145.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.9122, allocations: 301.1 kB / 0.616 GB, free: 145.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004584/0.9168, allocations: 3.494 MB / 0.6194 GB, free: 144 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007027/0.9238, allocations: 9 MB / 0.6282 GB, free: 135.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/0.9367, allocations: 13.41 MB / 0.6413 GB, free: 124.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001911/0.9369, allocations: 57.22 kB / 0.6414 GB, free: 124.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1264) (initialization): time 0.02663/0.9635, allocations: 13.78 MB / 0.6548 GB, free: 119.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.9636, allocations: 93.53 kB / 0.6549 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002479/0.9639, allocations: 188.3 kB / 0.6551 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005923/0.9698, allocations: 1.671 MB / 0.6567 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007463/0.9772, allocations: 2.224 MB / 0.6589 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.9896, allocations: 8.124 MB / 0.6668 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008409/0.998, allocations: 0.6198 MB / 0.6675 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002483/1, allocations: 0.5521 MB / 0.668 GB, free: 114 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * 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 (1178): * Single equations (assignments): 1171 * 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.006616/1.007, allocations: 3.451 MB / 0.6714 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/1.009, allocations: 0.5982 MB / 0.6719 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/1.02, allocations: 5.722 MB / 0.6775 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/1.02, allocations: 42.55 kB / 0.6776 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.02, allocations: 8 kB / 0.6776 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.869e-05/1.02, allocations: 14.48 kB / 0.6776 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/1.046, allocations: 12.78 MB / 0.6901 GB, free: 94.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/1.046, allocations: 16 kB / 0.6901 GB, free: 94.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/1.048, allocations: 0.5226 MB / 0.6906 GB, free: 93.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004191/1.052, allocations: 0.9792 MB / 0.6916 GB, free: 92.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003198/1.053, allocations: 75.98 kB / 0.6916 GB, free: 92.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007573/1.06, allocations: 5.367 MB / 0.6969 GB, free: 87.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/1.06, allocations: 23.88 kB / 0.6969 GB, free: 87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/1.072, allocations: 8.599 MB / 0.7053 GB, free: 78.06 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.073, allocations: 0.5081 MB / 0.7058 GB, free: 77.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006886/1.074, allocations: 75.92 kB / 0.7059 GB, free: 77.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.077, allocations: 199.7 kB / 0.7061 GB, free: 77.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004982/1.077, allocations: 260.7 kB / 0.7063 GB, free: 77.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/1.077, allocations: 100 kB / 0.7064 GB, free: 76.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004445/1.082, allocations: 3.388 MB / 0.7097 GB, free: 73.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.082, allocations: 64 / 0.7097 GB, free: 73.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00855/1.09, allocations: 1.761 MB / 0.7114 GB, free: 71.8 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 (281): * Single equations (assignments): 274 * 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,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008059/1.091, allocations: 290.1 kB / 0.7117 GB, free: 71.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01125/1.102, allocations: 7.78 MB / 0.7193 GB, free: 63.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/1.102, allocations: 4 kB / 0.7193 GB, free: 63.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003261/1.106, allocations: 2.274 MB / 0.7215 GB, free: 61.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/1.109, allocations: 0.6345 MB / 0.7221 GB, free: 60.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/1.133, allocations: 15.81 MB / 0.7376 GB, free: 44.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005161/1.138, allocations: 4.699 MB / 0.7422 GB, free: 40.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006679/1.145, allocations: 2.943 MB / 0.7451 GB, free: 37.06 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/1.147, allocations: 368.4 kB / 0.7454 GB, free: 36.7 MB / 474.7 MB Notification: Performance of SimCode: time 3.356e-06/1.147, allocations: 4 kB / 0.7454 GB, free: 36.7 MB / 474.7 MB Notification: Performance of Templates: time 0.2656/1.412, allocations: 51.87 MB / 0.7961 GB, free: 125.6 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.474457736010663]