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.001132/0.001132, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001412/0.001412, allocations: 160.5 kB / 24.55 MB, free: 16 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.006/1.006, allocations: 177 MB / 204.8 MB, free: 5.57 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.2939/0.2939, allocations: 34.86 MB / 296.3 MB, free: 484 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.964e-06/1.964e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.54e-05, allocations: 2.875 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01207/0.0121, allocations: 15.67 MB / 394.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008955/0.02105, allocations: 5.25 MB / 399.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.02295, allocations: 119.4 kB / 399.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004537/0.02748, allocations: 4.466 MB / 404.3 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005383/0.03287, allocations: 2.904 MB / 407.2 MB, free: 5.555 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.03514, allocations: 1.423 MB / 408.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008395/0.04354, allocations: 8.796 MB / 417.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00558/0.04912, allocations: 5.667 MB / 423 MB, free: 5.562 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005499/0.05462, allocations: 4.666 MB / 427.7 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004634/0.05925, allocations: 4.256 MB / 432 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009535/0.0602, allocations: 0.5977 MB / 432.6 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.06265, allocations: 1.74 MB / 434.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002575/0.06523, allocations: 3.538 MB / 437.8 MB, free: 6.734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.06747, allocations: 2.212 MB / 440.1 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1826/0.2501, allocations: 7.903 MB / 448 MB, free: 66.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2501, allocations: 0 / 448 MB, free: 66.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2501, allocations: 0 / 448 MB, free: 66.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000398/0.2505, allocations: 0 / 448 MB, free: 66.39 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.01076/0.2613, allocations: 8.638 MB / 456.6 MB, free: 63.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2613, allocations: 11.41 kB / 456.6 MB, free: 63.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008564/0.2699, allocations: 4.947 MB / 461.6 MB, free: 62.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/0.2737, allocations: 3.69 MB / 465.2 MB, free: 61.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.2738, allocations: 394.2 kB / 465.6 MB, free: 61.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006255/0.2744, allocations: 0.5513 MB / 466.2 MB, free: 61.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.287, allocations: 11.31 MB / 477.5 MB, free: 57.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.2871, allocations: 69.69 kB / 477.6 MB, free: 57.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004592/0.2875, allocations: 246.4 kB / 477.8 MB, free: 57.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003023/0.2906, allocations: 3.428 MB / 481.2 MB, free: 56.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/0.3037, allocations: 6.822 MB / 488 MB, free: 56.02 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.03857/0.3422, allocations: 70.63 MB / 0.5456 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/0.3487, allocations: 3.418 MB / 0.5489 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.3499, allocations: 0.9984 MB / 0.5499 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009722/0.3596, allocations: 7.946 MB / 0.5577 GB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.3596, allocations: 63.39 kB / 0.5577 GB, free: 2.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 9.839e-06/0.3596, allocations: 7.812 kB / 0.5577 GB, free: 2.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.03431/0.394, allocations: 17.55 MB / 0.5749 GB, free: 1.293 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.394, allocations: 187.7 kB / 0.575 GB, free: 1.074 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005671/0.3997, allocations: 5.095 MB / 0.58 GB, free: 11.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.3999, allocations: 79.5 kB / 0.5801 GB, free: 11.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003286/0.4032, allocations: 5.354 MB / 0.5853 GB, free: 6.594 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.4044, allocations: 1.391 MB / 0.5867 GB, free: 5.219 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002184/0.4065, allocations: 2.035 MB / 0.5887 GB, free: 3.172 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4067, allocations: 483.9 kB / 0.5891 GB, free: 2.699 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.4087, allocations: 1.186 MB / 0.5903 GB, free: 1.508 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006839/0.4156, allocations: 9.336 MB / 0.5994 GB, free: 4.543 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2052/0.6208, allocations: 11.59 MB / 0.6107 GB, free: 122.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001505/0.6209, allocations: 58.19 kB / 0.6108 GB, free: 122.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.0143/0.6352, allocations: 8.903 MB / 0.6195 GB, free: 120.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.236e-05/0.6353, allocations: 88.06 kB / 0.6196 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000207/0.6355, allocations: 193.8 kB / 0.6197 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/0.6382, allocations: 1.145 MB / 0.6209 GB, free: 120.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/0.6422, allocations: 2.218 MB / 0.623 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/0.6477, allocations: 4.601 MB / 0.6275 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/0.652, allocations: 0.5902 MB / 0.6281 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005315/0.6525, allocations: 0.5526 MB / 0.6286 GB, free: 118.4 MB / 474.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.002342/0.6549, allocations: 0.9263 MB / 0.6295 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007688/0.6556, allocations: 0.5938 MB / 0.6301 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005292/0.6609, allocations: 3.044 MB / 0.6331 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/0.661, allocations: 39.25 kB / 0.6331 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.661, allocations: 11.88 kB / 0.6331 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.661, allocations: 13.83 kB / 0.6331 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.6767, allocations: 10.18 MB / 0.6431 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.6767, allocations: 14.75 kB / 0.6431 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.6779, allocations: 0.5179 MB / 0.6436 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.6797, allocations: 0.6619 MB / 0.6443 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.6799, allocations: 72.62 kB / 0.6443 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.6831, allocations: 3.304 MB / 0.6476 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.6831, allocations: 25.81 kB / 0.6476 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.6887, allocations: 4.639 MB / 0.6521 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/0.6893, allocations: 0.4977 MB / 0.6526 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/0.6897, allocations: 74.94 kB / 0.6527 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.6908, allocations: 179.5 kB / 0.6528 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.6912, allocations: 256.5 kB / 0.6531 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.6914, allocations: 109.5 kB / 0.6532 GB, free: 109.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002751/0.6941, allocations: 2.165 MB / 0.6553 GB, free: 108.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6941, allocations: 0 / 0.6553 GB, free: 108.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005706/0.6998, allocations: 1.751 MB / 0.657 GB, free: 108.5 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.0005788/0.7004, allocations: 296.2 kB / 0.6573 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006516/0.7069, allocations: 4.994 MB / 0.6622 GB, free: 104.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.7069, allocations: 4 kB / 0.6622 GB, free: 104.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.7085, allocations: 1.405 MB / 0.6635 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.7106, allocations: 0.6366 MB / 0.6642 GB, free: 102.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.7268, allocations: 13.1 MB / 0.677 GB, free: 89.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.7284, allocations: 2.134 MB / 0.679 GB, free: 88.44 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003264/0.7317, allocations: 2.497 MB / 0.6815 GB, free: 87 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/0.7324, allocations: 379.1 kB / 0.6818 GB, free: 86.65 MB / 474.7 MB Notification: Performance of SimCode: time 1.733e-06/0.7324, allocations: 4 kB / 0.6819 GB, free: 86.65 MB / 474.7 MB Notification: Performance of Templates: time 0.06411/0.7965, allocations: 53.76 MB / 0.7344 GB, free: 35.71 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: 5.242864712141454]