Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4277, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0191/0.4468, allocations: 17.64 MB / 0.5482 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.4617, allocations: 5.695 MB / 0.5538 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005237/0.4669, allocations: 111.7 kB / 0.5539 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009132/0.4761, allocations: 4.567 MB / 0.5583 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009578/0.4858, allocations: 2.965 MB / 0.5612 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004291/0.4901, allocations: 1.498 MB / 0.5627 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.5036, allocations: 8.937 MB / 0.5714 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009859/0.5135, allocations: 6.441 MB / 0.5777 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00695/0.5204, allocations: 3.003 MB / 0.5806 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008589/0.5291, allocations: 4.253 MB / 0.5848 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003385/0.5325, allocations: 0.6641 MB / 0.5854 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006574/0.5391, allocations: 1.83 MB / 0.5872 GB, free: 7.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008531/0.5476, allocations: 3.694 MB / 0.5908 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01162/0.5593, allocations: 4.175 MB / 0.5949 GB, free: 52 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02434/0.5837, allocations: 13.55 MB / 0.6081 GB, free: 2.449 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5838, allocations: 0 / 0.6081 GB, free: 2.449 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5838, allocations: 0 / 0.6081 GB, free: 2.449 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007175/0.5845, allocations: 0 / 0.6081 GB, free: 2.449 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.03129/0.6158, allocations: 9.207 MB / 0.6171 GB, free: 9.137 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6159, allocations: 8.031 kB / 0.6171 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01788/0.6338, allocations: 4.153 MB / 0.6212 GB, free: 4.965 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.6483, allocations: 5.086 MB / 0.6262 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005779/0.649, allocations: 430.8 kB / 0.6266 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003436/0.6524, allocations: 0.6089 MB / 0.6272 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04511/0.6975, allocations: 20.62 MB / 0.6473 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003269/0.6979, allocations: 79.33 kB / 0.6474 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00204/0.7, allocations: 275.7 kB / 0.6476 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005969/0.706, allocations: 3.722 MB / 0.6513 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04063/0.7466, allocations: 18.21 MB / 0.6691 GB, free: 2.699 MB / 0.5137 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.733/1.48, allocations: 74.39 MB / 0.7417 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/1.497, allocations: 7.465 MB / 0.749 GB, free: 112.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005007/1.502, allocations: 4.124 MB / 0.753 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02655/1.529, allocations: 18.3 MB / 0.7709 GB, free: 100.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/1.529, allocations: 69.66 kB / 0.771 GB, free: 100.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 7.654e-06/1.529, allocations: 0 / 0.771 GB, free: 100.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1083/1.637, allocations: 35.1 MB / 0.8053 GB, free: 68.43 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/1.637, allocations: 192.9 kB / 0.8054 GB, free: 68.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008375/1.645, allocations: 6.483 MB / 0.8118 GB, free: 61.84 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008121/1.646, allocations: 84.36 kB / 0.8118 GB, free: 61.76 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002892/1.649, allocations: 5.589 MB / 0.8173 GB, free: 56.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002504/1.652, allocations: 1.609 MB / 0.8189 GB, free: 54.91 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003003/1.655, allocations: 2.148 MB / 0.821 GB, free: 52.75 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.152e-05/1.655, allocations: 305.1 kB / 0.8213 GB, free: 52.45 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00544/1.66, allocations: 4.343 MB / 0.8255 GB, free: 48.11 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00956/1.67, allocations: 10.28 MB / 0.8355 GB, free: 35.02 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01722/1.687, allocations: 15.68 MB / 0.8509 GB, free: 16.51 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004055/1.688, allocations: 60 kB / 0.8509 GB, free: 16.45 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03519/1.723, allocations: 16.39 MB / 0.8669 GB, free: 32 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003567/1.723, allocations: 99.98 kB / 0.867 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004956/1.724, allocations: 204.9 kB / 0.8672 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007881/1.732, allocations: 2.369 MB / 0.8695 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008796/1.74, allocations: 2.46 MB / 0.8719 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/1.762, allocations: 12.77 MB / 0.8844 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009813/1.771, allocations: 0.5878 MB / 0.885 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003194/1.775, allocations: 0.5956 MB / 0.8856 GB, free: 12.82 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1316): * Single equations (assignments): 1309 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01276/1.787, allocations: 3.773 MB / 0.8892 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002456/1.79, allocations: 0.6209 MB / 0.8898 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02077/1.811, allocations: 8.326 MB / 0.898 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000123/1.811, allocations: 71.36 kB / 0.898 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-05/1.811, allocations: 12 kB / 0.8981 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.265e-05/1.811, allocations: 15.94 kB / 0.8981 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04742/1.858, allocations: 18.85 MB / 0.9165 GB, free: 12.78 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.613e-05/1.859, allocations: 12 kB / 0.9165 GB, free: 12.77 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/1.862, allocations: 0.6279 MB / 0.9171 GB, free: 12.14 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006715/1.869, allocations: 1.807 MB / 0.9189 GB, free: 10.32 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009454/1.87, allocations: 87.92 kB / 0.919 GB, free: 10.24 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/1.889, allocations: 10.82 MB / 0.9295 GB, free: 15.28 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.679e-05/1.889, allocations: 19.94 kB / 0.9295 GB, free: 15.26 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02557/1.915, allocations: 12.5 MB / 0.9418 GB, free: 2.484 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002887/1.918, allocations: 0.6568 MB / 0.9424 GB, free: 1.805 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002747/1.921, allocations: 87.92 kB / 0.9425 GB, free: 1.719 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004449/1.925, allocations: 199.8 kB / 0.9427 GB, free: 1.523 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001309/1.927, allocations: 261.7 kB / 0.9429 GB, free: 1.266 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008271/1.927, allocations: 119.7 kB / 0.943 GB, free: 1.152 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01017/1.938, allocations: 4.017 MB / 0.947 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.91e-07/1.938, allocations: 0 / 0.947 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01185/1.949, allocations: 1.926 MB / 0.9488 GB, free: 11.22 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (331): * Single equations (assignments): 324 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/1.951, allocations: 284.5 kB / 0.9491 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02295/1.974, allocations: 10.2 MB / 0.9591 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.206e-05/1.974, allocations: 4 kB / 0.9591 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006947/1.981, allocations: 3.394 MB / 0.9624 GB, free: 13.34 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00929/1.99, allocations: 0.8009 MB / 0.9632 GB, free: 12.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3927/2.383, allocations: 17.91 MB / 0.9807 GB, free: 245.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008509/2.392, allocations: 5.58 MB / 0.9861 GB, free: 244.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008727/2.4, allocations: 3.315 MB / 0.9893 GB, free: 244.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/2.402, allocations: 418 kB / 0.9897 GB, free: 244.6 MB / 0.67 GB Notification: Performance of SimCode: time 2.174e-06/2.402, allocations: 3.875 kB / 0.9897 GB, free: 244.6 MB / 0.67 GB Notification: Performance of Templates: time 0.1183/2.521, allocations: 69.39 MB / 1.057 GB, free: 190.4 MB / 0.67 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches