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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 105.8 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3614/0.3614, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3261, allocations: 62.01 MB / 0.5151 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.04947/0.3756, allocations: 63.07 MB / 0.5767 GB, free: 8.664 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03078/0.4064, allocations: 13.3 MB / 0.5897 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01801/0.4245, allocations: 275.3 kB / 0.59 GB, free: 12.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008987/0.4335, allocations: 4.539 MB / 0.5944 GB, free: 8.188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007778/0.4413, allocations: 2.838 MB / 0.5972 GB, free: 5.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.4445, allocations: 1.373 MB / 0.5985 GB, free: 3.965 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01574/0.4603, allocations: 12.48 MB / 0.6107 GB, free: 7.465 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009443/0.4698, allocations: 6.296 MB / 0.6169 GB, free: 1.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005907/0.4757, allocations: 2.659 MB / 0.6195 GB, free: 14.42 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007244/0.483, allocations: 4.483 MB / 0.6238 GB, free: 9.926 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002301/0.4853, allocations: 456 kB / 0.6243 GB, free: 9.48 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/0.4901, allocations: 1.713 MB / 0.626 GB, free: 7.766 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00457/0.4947, allocations: 3.561 MB / 0.6294 GB, free: 4.195 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006625/0.5014, allocations: 4.011 MB / 0.6333 GB, free: 164 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.5145, allocations: 12.95 MB / 0.646 GB, free: 3.164 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5145, allocations: 0 / 0.646 GB, free: 3.164 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5146, allocations: 0 / 0.646 GB, free: 3.164 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003134/0.5149, allocations: 0 / 0.646 GB, free: 3.164 MB / 458.7 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.02264/0.5375, allocations: 9.033 MB / 0.6548 GB, free: 10.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5376, allocations: 8.031 kB / 0.6548 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01713/0.5547, allocations: 4.104 MB / 0.6588 GB, free: 5.914 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.5669, allocations: 4.99 MB / 0.6637 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.5673, allocations: 442.9 kB / 0.6641 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/0.5693, allocations: 0.5971 MB / 0.6647 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4929/1.062, allocations: 20.62 MB / 0.6848 GB, free: 121.7 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002927/1.063, allocations: 81.91 kB / 0.6849 GB, free: 121.7 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/1.064, allocations: 268.7 kB / 0.6852 GB, free: 121.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005095/1.069, allocations: 3.717 MB / 0.6888 GB, free: 120.9 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03679/1.106, allocations: 18.2 MB / 0.7066 GB, free: 115.3 MB / 490.8 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.0891/1.195, allocations: 74.63 MB / 0.7795 GB, free: 51.12 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01556/1.21, allocations: 7.444 MB / 0.7867 GB, free: 43.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004665/1.215, allocations: 4.126 MB / 0.7908 GB, free: 39.28 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02559/1.241, allocations: 18.2 MB / 0.8085 GB, free: 20.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.241, allocations: 68.47 kB / 0.8086 GB, free: 20.32 MB / 490.8 MB Notification: Performance of pre-optimization done (n=335): time 5.41e-06/1.241, allocations: 0 / 0.8086 GB, free: 20.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=419): time 0.109/1.35, allocations: 35 MB / 0.8428 GB, free: 1.152 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.35, allocations: 196.8 kB / 0.843 GB, free: 0.9219 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/1.362, allocations: 6.47 MB / 0.8493 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009048/1.363, allocations: 93.7 kB / 0.8494 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004578/1.368, allocations: 5.368 MB / 0.8546 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002706/1.37, allocations: 1.542 MB / 0.8561 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00586/1.376, allocations: 2.131 MB / 0.8582 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.376, allocations: 309.1 kB / 0.8585 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006848/1.383, allocations: 4.331 MB / 0.8627 GB, free: 12.56 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/1.394, allocations: 10.28 MB / 0.8728 GB, free: 15.39 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2709/1.665, allocations: 15.67 MB / 0.8881 GB, free: 164.8 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002148/1.666, allocations: 58.53 kB / 0.8881 GB, free: 164.8 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03289/1.699, allocations: 16.36 MB / 0.9041 GB, free: 160 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/1.699, allocations: 92.5 kB / 0.9042 GB, free: 160 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00029/1.699, allocations: 207.1 kB / 0.9044 GB, free: 160 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007668/1.707, allocations: 2.372 MB / 0.9067 GB, free: 159.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008538/1.715, allocations: 2.466 MB / 0.9091 GB, free: 159.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/1.734, allocations: 11.89 MB / 0.9207 GB, free: 153.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008245/1.742, allocations: 0.6024 MB / 0.9213 GB, free: 153.7 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.744, allocations: 0.597 MB / 0.9219 GB, free: 153.6 MB / 0.5418 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.005499/1.749, allocations: 3.772 MB / 0.9256 GB, free: 152 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009604/1.75, allocations: 0.5891 MB / 0.9261 GB, free: 152 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01591/1.766, allocations: 8.327 MB / 0.9343 GB, free: 149 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.216e-05/1.766, allocations: 63.69 kB / 0.9343 GB, free: 149 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/1.766, allocations: 19.17 kB / 0.9344 GB, free: 149 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/1.766, allocations: 15.7 kB / 0.9344 GB, free: 149 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03112/1.797, allocations: 18.95 MB / 0.9529 GB, free: 136.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.797, allocations: 12 kB / 0.9529 GB, free: 136.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/1.8, allocations: 0.6216 MB / 0.9535 GB, free: 136.1 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00634/1.806, allocations: 1.802 MB / 0.9553 GB, free: 134.8 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003739/1.807, allocations: 83.92 kB / 0.9553 GB, free: 134.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.82, allocations: 10 MB / 0.9651 GB, free: 124.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.82, allocations: 19.88 kB / 0.9651 GB, free: 124.6 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1403/1.961, allocations: 68.81 MB / 1.032 GB, free: 55.34 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.962, allocations: 0.6183 MB / 1.033 GB, free: 54.69 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008505/1.963, allocations: 83.2 kB / 1.033 GB, free: 54.61 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/1.965, allocations: 207.7 kB / 1.033 GB, free: 54.41 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006476/1.966, allocations: 257.9 kB / 1.033 GB, free: 54.16 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/1.966, allocations: 116 kB / 1.034 GB, free: 54.04 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.005492/1.972, allocations: 4.02 MB / 1.037 GB, free: 50.03 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.01e-07/1.972, allocations: 1.641 kB / 1.037 GB, free: 50.03 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01079/1.982, allocations: 2.519 MB / 1.04 GB, free: 47.52 MB / 0.5418 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.0009855/1.983, allocations: 296.2 kB / 1.04 GB, free: 47.24 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.997, allocations: 10.13 MB / 1.05 GB, free: 37.12 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.997, allocations: 384 / 1.05 GB, free: 37.12 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.004323/2.001, allocations: 3.393 MB / 1.053 GB, free: 33.71 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004772/2.006, allocations: 0.7523 MB / 1.054 GB, free: 32.97 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03209/2.038, allocations: 24.52 MB / 1.078 GB, free: 8.223 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007204/2.045, allocations: 5.729 MB / 1.084 GB, free: 2.461 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.008234/2.054, allocations: 3.351 MB / 1.087 GB, free: 15.1 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/2.055, allocations: 431.4 kB / 1.087 GB, free: 14.68 MB / 0.5574 GB Notification: Performance of SimCode: time 2.014e-06/2.055, allocations: 0 / 1.087 GB, free: 14.68 MB / 0.5574 GB Notification: Performance of Templates: time 0.3852/2.441, allocations: 92.59 MB / 1.178 GB, free: 118.5 MB / 0.5574 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches