Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.15/1.15, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3214/0.3214, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.598e-05, allocations: 9.406 kB / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01197/0.012, allocations: 15.25 MB / 393.7 MB, free: 3.082 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.0231, allocations: 5.209 MB / 398.9 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/0.02578, allocations: 119.4 kB / 399.1 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005242/0.03102, allocations: 4.396 MB / 403.5 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007637/0.03865, allocations: 2.92 MB / 406.4 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.04166, allocations: 1.415 MB / 407.8 MB, free: 4.977 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.05284, allocations: 8.797 MB / 416.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009279/0.06212, allocations: 5.663 MB / 422.3 MB, free: 6.414 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/0.07236, allocations: 4.686 MB / 426.9 MB, free: 1.719 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006713/0.07907, allocations: 4.256 MB / 431.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002292/0.08137, allocations: 0.5977 MB / 431.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00445/0.08582, allocations: 1.74 MB / 433.5 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004736/0.09055, allocations: 3.534 MB / 437.1 MB, free: 7.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004194/0.09475, allocations: 2.204 MB / 439.3 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2094/0.3041, allocations: 7.908 MB / 447.2 MB, free: 66.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3041, allocations: 3.844 kB / 447.2 MB, free: 66.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3041, allocations: 0 / 447.2 MB, free: 66.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004707/0.3046, allocations: 0.5625 kB / 447.2 MB, free: 66.66 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.01551/0.3201, allocations: 8.261 MB / 455.4 MB, free: 63.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3202, allocations: 8.719 kB / 455.5 MB, free: 63.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.3302, allocations: 3.069 MB / 458.5 MB, free: 62.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007149/0.3373, allocations: 3.299 MB / 461.8 MB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/0.3377, allocations: 399.1 kB / 462.2 MB, free: 62.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/0.3401, allocations: 0.5531 MB / 462.8 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.36, allocations: 9.78 MB / 472.5 MB, free: 58.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002579/0.3602, allocations: 71.5 kB / 472.6 MB, free: 58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007489/0.361, allocations: 244.3 kB / 472.9 MB, free: 58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002822/0.3638, allocations: 3.084 MB / 475.9 MB, free: 57.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/0.3811, allocations: 5.077 MB / 481 MB, free: 57.79 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.05913/0.4403, allocations: 69.21 MB / 0.5373 GB, free: 19.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007427/0.4477, allocations: 3.078 MB / 0.5403 GB, free: 18.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.449, allocations: 0.8492 MB / 0.5412 GB, free: 18.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.4598, allocations: 7.42 MB / 0.5484 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/0.4598, allocations: 70.77 kB / 0.5485 GB, free: 12.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 6.142e-06/0.4599, allocations: 0 / 0.5485 GB, free: 12.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.02974/0.4896, allocations: 12.26 MB / 0.5604 GB, free: 1.965 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.4897, allocations: 194.3 kB / 0.5606 GB, free: 1.738 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00553/0.4952, allocations: 5.059 MB / 0.5656 GB, free: 13.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005456/0.4958, allocations: 79.97 kB / 0.5656 GB, free: 13.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003134/0.4989, allocations: 5.393 MB / 0.5709 GB, free: 8.297 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001559/0.5004, allocations: 1.402 MB / 0.5723 GB, free: 6.969 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002081/0.5025, allocations: 2.08 MB / 0.5743 GB, free: 5.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5027, allocations: 486.6 kB / 0.5748 GB, free: 4.613 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.5047, allocations: 1.046 MB / 0.5758 GB, free: 3.562 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006295/0.511, allocations: 9.269 MB / 0.5849 GB, free: 6.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00925/0.5202, allocations: 11.24 MB / 0.5958 GB, free: 8.418 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/0.5204, allocations: 56 kB / 0.5959 GB, free: 8.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01406/0.5344, allocations: 8.1 MB / 0.6038 GB, free: 232 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.5346, allocations: 84 kB / 0.6039 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2121/0.7466, allocations: 194.2 kB / 0.6041 GB, free: 132.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.7495, allocations: 0.9915 MB / 0.605 GB, free: 132.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005182/0.7546, allocations: 2.104 MB / 0.6071 GB, free: 132.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005094/0.7597, allocations: 4.323 MB / 0.6113 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005778/0.7655, allocations: 400.7 kB / 0.6117 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/0.7671, allocations: 490 kB / 0.6122 GB, free: 130.8 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.003359/0.7705, allocations: 0.9253 MB / 0.6131 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/0.7716, allocations: 0.5966 MB / 0.6136 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/0.7759, allocations: 2.639 MB / 0.6162 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/0.776, allocations: 38.56 kB / 0.6163 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.776, allocations: 9.672 kB / 0.6163 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.776, allocations: 12.8 kB / 0.6163 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.7925, allocations: 9.724 MB / 0.6258 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/0.7926, allocations: 15.06 kB / 0.6258 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.7938, allocations: 472.7 kB / 0.6262 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/0.7955, allocations: 0.6201 MB / 0.6268 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/0.7957, allocations: 77.47 kB / 0.6269 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.7989, allocations: 3.116 MB / 0.63 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.899e-05/0.7989, allocations: 24.41 kB / 0.63 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007571/0.8065, allocations: 4.224 MB / 0.6341 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/0.8088, allocations: 498.9 kB / 0.6346 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000654/0.8094, allocations: 72.88 kB / 0.6347 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.8106, allocations: 72.34 kB / 0.6347 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004857/0.8111, allocations: 250.5 kB / 0.635 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/0.8114, allocations: 90.27 kB / 0.635 GB, free: 123.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004096/0.8155, allocations: 2.005 MB / 0.637 GB, free: 123.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.8155, allocations: 1.25 kB / 0.637 GB, free: 123.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009296/0.8247, allocations: 1.759 MB / 0.6387 GB, free: 123.3 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.001034/0.8258, allocations: 291.8 kB / 0.639 GB, free: 123.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007708/0.8335, allocations: 4.643 MB / 0.6435 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/0.8335, allocations: 0 / 0.6435 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.8352, allocations: 1.296 MB / 0.6448 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/0.8383, allocations: 0.639 MB / 0.6454 GB, free: 121 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/0.8639, allocations: 13.02 MB / 0.6581 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004204/0.8681, allocations: 2.131 MB / 0.6602 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003254/0.8713, allocations: 0.7872 MB / 0.661 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.8728, allocations: 0.8922 MB / 0.6619 GB, free: 111.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.784e-06/0.8728, allocations: 0 / 0.6619 GB, free: 111.1 MB / 474.7 MB Notification: Performance of Templates: time 0.08447/0.9572, allocations: 56.8 MB / 0.7173 GB, free: 58.1 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.734946267679334]