Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001756/0.001756, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002308/0.002308, allocations: 217.7 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2672/0.2672, allocations: 44.26 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 67.91 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1681, allocations: 61.04 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02133/0.1895, allocations: 14.26 MB / 0.5306 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.2039, allocations: 5.086 MB / 0.5355 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005029/0.2089, allocations: 115.5 kB / 0.5356 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3634/0.5723, allocations: 4.069 MB / 0.5396 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.5829, allocations: 2.864 MB / 0.5424 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.5869, allocations: 1.275 MB / 0.5436 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01559/0.6025, allocations: 7.438 MB / 0.5509 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.6141, allocations: 4.738 MB / 0.5555 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008586/0.6227, allocations: 2.733 MB / 0.5582 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.6343, allocations: 3.895 MB / 0.562 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003824/0.6382, allocations: 0.5936 MB / 0.5626 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007319/0.6455, allocations: 1.645 MB / 0.5642 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007027/0.6525, allocations: 3.418 MB / 0.5675 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01172/0.6642, allocations: 2.833 MB / 0.5703 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02593/0.6902, allocations: 12.51 MB / 0.5825 GB, free: 10.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.6902, allocations: 1.969 kB / 0.5825 GB, free: 10.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6902, allocations: 0 / 0.5825 GB, free: 10.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007558/0.6909, allocations: 0 / 0.5825 GB, free: 10.45 MB / 430.1 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.03451/0.7254, allocations: 8.032 MB / 0.5904 GB, free: 5.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.7255, allocations: 12.44 kB / 0.5904 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/0.7444, allocations: 3.983 MB / 0.5943 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/0.7593, allocations: 4.429 MB / 0.5986 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006136/0.7599, allocations: 404.2 kB / 0.599 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003508/0.7634, allocations: 0.5444 MB / 0.5995 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05094/0.8143, allocations: 18.93 MB / 0.618 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003658/0.8147, allocations: 76.19 kB / 0.6181 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002593/0.8173, allocations: 246.9 kB / 0.6183 GB, free: 7.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006462/0.8237, allocations: 3.429 MB / 0.6216 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04215/0.8659, allocations: 16.61 MB / 0.6379 GB, free: 3.953 MB / 478.1 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.105/0.9709, allocations: 61.68 MB / 0.6981 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/0.9875, allocations: 5.129 MB / 0.7031 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004754/0.9923, allocations: 2.638 MB / 0.7057 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02419/1.016, allocations: 10.61 MB / 0.716 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.979e-05/1.017, allocations: 64.5 kB / 0.7161 GB, free: 2.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 7.304e-06/1.017, allocations: 0 / 0.7161 GB, free: 2.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.09734/1.114, allocations: 25.3 MB / 0.7408 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/1.114, allocations: 192.3 kB / 0.741 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/1.127, allocations: 5.651 MB / 0.7465 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008167/1.128, allocations: 77.7 kB / 0.7466 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005742/1.134, allocations: 5.186 MB / 0.7517 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002303/1.136, allocations: 1.347 MB / 0.753 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006302/1.143, allocations: 1.915 MB / 0.7548 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.143, allocations: 307.3 kB / 0.7551 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007068/1.15, allocations: 3.353 MB / 0.7584 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.319/1.469, allocations: 8.891 MB / 0.7671 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/1.486, allocations: 13.19 MB / 0.78 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003574/1.486, allocations: 54.5 kB / 0.78 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03304/1.519, allocations: 12.96 MB / 0.7927 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002192/1.519, allocations: 88.97 kB / 0.7928 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004439/1.52, allocations: 193 kB / 0.7929 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005184/1.525, allocations: 1.324 MB / 0.7942 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00902/1.534, allocations: 2.206 MB / 0.7964 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.546, allocations: 7.613 MB / 0.8038 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00815/1.554, allocations: 0.507 MB / 0.8043 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00216/1.557, allocations: 0.5522 MB / 0.8049 GB, free: 163.7 MB / 0.5919 GB 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 (1179): * Single equations (assignments): 1172 * 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.006925/1.563, allocations: 3.456 MB / 0.8082 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.564, allocations: 0.504 MB / 0.8087 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/1.575, allocations: 5.343 MB / 0.8139 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-05/1.575, allocations: 45.47 kB / 0.814 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.575, allocations: 7.688 kB / 0.814 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.171e-05/1.575, allocations: 10.83 kB / 0.814 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02726/1.602, allocations: 11.56 MB / 0.8253 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/1.602, allocations: 15.94 kB / 0.8253 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/1.605, allocations: 0.4927 MB / 0.8258 GB, free: 155 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/1.608, allocations: 0.8143 MB / 0.8266 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005198/1.608, allocations: 67.75 kB / 0.8266 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008157/1.616, allocations: 5.582 MB / 0.8321 GB, free: 149.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/1.616, allocations: 27.94 kB / 0.8321 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.63, allocations: 8.246 MB / 0.8402 GB, free: 141.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/1.633, allocations: 0.8223 MB / 0.841 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001506/1.634, allocations: 67.58 kB / 0.841 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/1.637, allocations: 131.9 kB / 0.8412 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005881/1.638, allocations: 235.7 kB / 0.8414 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003428/1.638, allocations: 104 kB / 0.8415 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006426/1.645, allocations: 3.25 MB / 0.8447 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/1.645, allocations: 0 / 0.8447 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009843/1.654, allocations: 1.648 MB / 0.8463 GB, free: 135.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/1.656, allocations: 271.1 kB / 0.8465 GB, free: 135.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01411/1.67, allocations: 7.579 MB / 0.8539 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.001e-05/1.67, allocations: 256 / 0.8539 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004062/1.674, allocations: 2.216 MB / 0.8561 GB, free: 125.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005527/1.679, allocations: 0.5871 MB / 0.8567 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/1.711, allocations: 15.59 MB / 0.8719 GB, free: 109.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009502/1.72, allocations: 4.699 MB / 0.8765 GB, free: 104.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008144/1.728, allocations: 2.955 MB / 0.8794 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/1.73, allocations: 367.4 kB / 0.8797 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.292e-06/1.73, allocations: 0 / 0.8797 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.0983/1.828, allocations: 56.83 MB / 0.9352 GB, free: 44.52 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.03147173114121]