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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001468, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 71.89 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4566, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.019/0.4756, allocations: 16.24 MB / 0.5468 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.4889, allocations: 5.352 MB / 0.5521 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005421/0.4943, allocations: 99.69 kB / 0.5522 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008665/0.5031, allocations: 4.15 MB / 0.5562 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009648/0.5128, allocations: 2.711 MB / 0.5589 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.5161, allocations: 1.26 MB / 0.5601 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0133/0.5294, allocations: 7.73 MB / 0.5676 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009754/0.5392, allocations: 5.844 MB / 0.5733 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006067/0.5453, allocations: 2.667 MB / 0.576 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006882/0.5522, allocations: 3.77 MB / 0.5796 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002654/0.5549, allocations: 0.5898 MB / 0.5802 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00531/0.5602, allocations: 1.744 MB / 0.5819 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005358/0.5656, allocations: 3.281 MB / 0.5851 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009334/0.575, allocations: 3.767 MB / 0.5888 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.5968, allocations: 12.35 MB / 0.6009 GB, free: 9.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5968, allocations: 4 kB / 0.6009 GB, free: 9.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5968, allocations: 0 / 0.6009 GB, free: 9.906 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005542/0.5974, allocations: 0 / 0.6009 GB, free: 9.906 MB / 462.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.02696/0.6243, allocations: 8.049 MB / 0.6087 GB, free: 1.758 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.6244, allocations: 12.03 kB / 0.6087 GB, free: 1.746 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/0.6417, allocations: 3.985 MB / 0.6126 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.652, allocations: 4.25 MB / 0.6168 GB, free: 9.441 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004386/0.6525, allocations: 394 kB / 0.6172 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003269/0.6558, allocations: 0.5621 MB / 0.6177 GB, free: 8.492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03805/0.6938, allocations: 18.88 MB / 0.6361 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002273/0.6941, allocations: 79.39 kB / 0.6362 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00107/0.6952, allocations: 247.7 kB / 0.6364 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00493/0.7001, allocations: 3.432 MB / 0.6398 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03478/0.7349, allocations: 16.63 MB / 0.656 GB, free: 168 kB / 0.4981 GB 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.4884/1.223, allocations: 66.71 MB / 0.7212 GB, free: 144 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02347/1.247, allocations: 6.27 MB / 0.7273 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/1.251, allocations: 2.84 MB / 0.7301 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02357/1.275, allocations: 13.96 MB / 0.7437 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/1.275, allocations: 64.19 kB / 0.7438 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 7.213e-06/1.275, allocations: 0 / 0.7438 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.08157/1.356, allocations: 25.22 MB / 0.7684 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/1.356, allocations: 188.3 kB / 0.7686 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007743/1.364, allocations: 5.896 MB / 0.7743 GB, free: 115 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007556/1.365, allocations: 77.7 kB / 0.7744 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002974/1.368, allocations: 5.144 MB / 0.7794 GB, free: 110 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/1.37, allocations: 1.35 MB / 0.7808 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002458/1.372, allocations: 1.917 MB / 0.7826 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.872e-05/1.372, allocations: 301.1 kB / 0.7829 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004317/1.376, allocations: 3.361 MB / 0.7862 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006806/1.383, allocations: 8.883 MB / 0.7949 GB, free: 91.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/1.397, allocations: 13.19 MB / 0.8078 GB, free: 75.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000211/1.398, allocations: 56 kB / 0.8078 GB, free: 75.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02536/1.423, allocations: 13.03 MB / 0.8205 GB, free: 62.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002845/1.423, allocations: 91.94 kB / 0.8206 GB, free: 62.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003477/1.424, allocations: 192 kB / 0.8208 GB, free: 62.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/1.428, allocations: 1.325 MB / 0.8221 GB, free: 61.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006959/1.435, allocations: 2.207 MB / 0.8242 GB, free: 58.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/1.446, allocations: 7.841 MB / 0.8319 GB, free: 50.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007295/1.453, allocations: 0.5074 MB / 0.8324 GB, free: 50.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/1.454, allocations: 0.5582 MB / 0.8329 GB, free: 49.82 MB / 0.5606 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.006552/1.461, allocations: 3.452 MB / 0.8363 GB, free: 46.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.462, allocations: 0.5471 MB / 0.8368 GB, free: 45.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.473, allocations: 5.4 MB / 0.8421 GB, free: 40.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.218e-05/1.473, allocations: 43.67 kB / 0.8422 GB, free: 40.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.473, allocations: 8 kB / 0.8422 GB, free: 40.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-05/1.473, allocations: 15.94 kB / 0.8422 GB, free: 40.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02471/1.498, allocations: 13.94 MB / 0.8558 GB, free: 26.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/1.498, allocations: 8 kB / 0.8558 GB, free: 26.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/1.5, allocations: 0.4947 MB / 0.8563 GB, free: 25.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/1.503, allocations: 0.813 MB / 0.8571 GB, free: 24.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002668/1.503, allocations: 71.92 kB / 0.8572 GB, free: 24.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008161/1.511, allocations: 5.813 MB / 0.8628 GB, free: 18.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/1.511, allocations: 15.94 kB / 0.8628 GB, free: 18.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.523, allocations: 8.333 MB / 0.871 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.525, allocations: 0.5871 MB / 0.8716 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009233/1.526, allocations: 67.98 kB / 0.8716 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.528, allocations: 139.9 kB / 0.8718 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/1.529, allocations: 221.4 kB / 0.872 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.529, allocations: 104 kB / 0.8721 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005787/1.535, allocations: 3.646 MB / 0.8756 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.61e-07/1.535, allocations: 0 / 0.8756 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00953/1.544, allocations: 1.621 MB / 0.8772 GB, free: 3.785 MB / 0.5606 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.0006876/1.545, allocations: 272.2 kB / 0.8775 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01282/1.558, allocations: 7.953 MB / 0.8852 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/1.558, allocations: 4.062 kB / 0.8852 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004201/1.562, allocations: 2.39 MB / 0.8876 GB, free: 9.176 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/1.567, allocations: 0.705 MB / 0.8883 GB, free: 8.488 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/1.595, allocations: 15.44 MB / 0.9033 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008297/1.603, allocations: 5.156 MB / 0.9084 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007572/1.611, allocations: 2.958 MB / 0.9113 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.612, allocations: 379.4 kB / 0.9116 GB, free: 316 kB / 0.5919 GB Notification: Performance of SimCode: time 1.853e-06/1.612, allocations: 0 / 0.9116 GB, free: 316 kB / 0.5919 GB Notification: Performance of Templates: time 0.4721/2.084, allocations: 55.88 MB / 0.9662 GB, free: 215.9 MB / 0.6388 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches