Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 109.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.00162, allocations: 183.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4333, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02071/0.4541, allocations: 17.7 MB / 0.5362 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.47, allocations: 5.686 MB / 0.5417 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005843/0.4759, allocations: 114.4 kB / 0.5418 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.4861, allocations: 4.575 MB / 0.5463 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.4974, allocations: 3.019 MB / 0.5492 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004496/0.502, allocations: 1.491 MB / 0.5507 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0163/0.5183, allocations: 8.755 MB / 0.5593 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01381/0.5321, allocations: 6.451 MB / 0.5656 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006799/0.539, allocations: 3.01 MB / 0.5685 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007357/0.5464, allocations: 4.276 MB / 0.5727 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002032/0.5485, allocations: 0.6602 MB / 0.5733 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004879/0.5533, allocations: 1.849 MB / 0.5751 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005773/0.5591, allocations: 3.745 MB / 0.5788 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009293/0.5685, allocations: 4.214 MB / 0.5829 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01952/0.588, allocations: 13.58 MB / 0.5962 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.5881, allocations: 4 kB / 0.5962 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5881, allocations: 0 / 0.5962 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005394/0.5886, allocations: 0 / 0.5962 GB, free: 12.64 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.02594/0.6146, allocations: 9.012 MB / 0.605 GB, free: 3.539 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.6146, allocations: 8.031 kB / 0.605 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/0.6322, allocations: 4.096 MB / 0.609 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.6439, allocations: 5.181 MB / 0.614 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004103/0.6443, allocations: 438.9 kB / 0.6144 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002719/0.647, allocations: 0.601 MB / 0.615 GB, free: 9.121 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04768/0.6947, allocations: 20.62 MB / 0.6352 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003935/0.6952, allocations: 83.23 kB / 0.6352 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002712/0.6979, allocations: 271.7 kB / 0.6355 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006402/0.7043, allocations: 3.718 MB / 0.6391 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04285/0.7472, allocations: 18.19 MB / 0.6569 GB, free: 13.07 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.8636/1.611, allocations: 74.28 MB / 0.7294 GB, free: 120.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/1.632, allocations: 7.447 MB / 0.7367 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006865/1.639, allocations: 4.116 MB / 0.7407 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03123/1.67, allocations: 18.2 MB / 0.7585 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.355e-05/1.67, allocations: 67.27 kB / 0.7586 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 9.257e-06/1.67, allocations: 0 / 0.7586 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.125/1.795, allocations: 35.03 MB / 0.7928 GB, free: 81.32 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/1.796, allocations: 192.9 kB / 0.793 GB, free: 81.09 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/1.808, allocations: 6.478 MB / 0.7993 GB, free: 74.61 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.809, allocations: 81.7 kB / 0.7994 GB, free: 74.53 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003542/1.812, allocations: 5.369 MB / 0.8046 GB, free: 69.16 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001947/1.814, allocations: 1.537 MB / 0.8061 GB, free: 67.64 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003766/1.818, allocations: 2.135 MB / 0.8082 GB, free: 65.49 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/1.818, allocations: 301.1 kB / 0.8085 GB, free: 65.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008677/1.827, allocations: 4.335 MB / 0.8127 GB, free: 60.86 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/1.838, allocations: 10.28 MB / 0.8228 GB, free: 47.78 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/1.856, allocations: 15.68 MB / 0.8381 GB, free: 29.36 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/1.856, allocations: 56 kB / 0.8381 GB, free: 29.31 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.02963/1.885, allocations: 16.36 MB / 0.8541 GB, free: 12.92 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.886, allocations: 92 kB / 0.8542 GB, free: 12.83 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001911/1.886, allocations: 208 kB / 0.8544 GB, free: 12.63 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008212/1.894, allocations: 2.367 MB / 0.8567 GB, free: 10.26 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008521/1.903, allocations: 2.46 MB / 0.8591 GB, free: 7.797 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/1.921, allocations: 12.76 MB / 0.8716 GB, free: 10.89 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008064/1.929, allocations: 0.593 MB / 0.8721 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001925/1.931, allocations: 0.6015 MB / 0.8727 GB, free: 9.695 MB / 0.5763 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.007053/1.938, allocations: 3.765 MB / 0.8764 GB, free: 5.914 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/1.939, allocations: 0.5862 MB / 0.877 GB, free: 5.32 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/1.958, allocations: 8.327 MB / 0.8851 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/1.958, allocations: 67.92 kB / 0.8852 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-05/1.958, allocations: 8 kB / 0.8852 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.773e-05/1.958, allocations: 19.94 kB / 0.8852 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03806/1.996, allocations: 18.84 MB / 0.9036 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-05/1.996, allocations: 15.94 kB / 0.9036 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/1.999, allocations: 0.624 MB / 0.9042 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007181/2.006, allocations: 1.808 MB / 0.906 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006028/2.007, allocations: 80.56 kB / 0.9061 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/2.025, allocations: 10.83 MB / 0.9166 GB, free: 12.23 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/2.025, allocations: 23.81 kB / 0.9167 GB, free: 12.2 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02414/2.049, allocations: 12.47 MB / 0.9288 GB, free: 15.46 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/2.051, allocations: 0.6145 MB / 0.9294 GB, free: 14.82 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/2.052, allocations: 83.92 kB / 0.9295 GB, free: 14.74 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/2.055, allocations: 207.8 kB / 0.9297 GB, free: 14.54 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008147/2.056, allocations: 261.6 kB / 0.93 GB, free: 14.28 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/2.057, allocations: 116 kB / 0.9301 GB, free: 14.17 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.009777/2.066, allocations: 4.02 MB / 0.934 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of sort global known variables: time 9.52e-07/2.066, allocations: 0 / 0.934 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01231/2.079, allocations: 1.953 MB / 0.9359 GB, free: 8.211 MB / 0.6388 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.001211/2.08, allocations: 299 kB / 0.9362 GB, free: 7.922 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02099/2.101, allocations: 10.17 MB / 0.9461 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.099e-05/2.101, allocations: 3.938 kB / 0.9461 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008924/2.11, allocations: 3.39 MB / 0.9494 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009903/2.12, allocations: 0.7906 MB / 0.9502 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3532/2.473, allocations: 17.64 MB / 0.9674 GB, free: 236.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/2.485, allocations: 5.58 MB / 0.9729 GB, free: 235.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008636/2.493, allocations: 3.314 MB / 0.9761 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/2.495, allocations: 414 kB / 0.9765 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of SimCode: time 1.342e-06/2.495, allocations: 0.9062 kB / 0.9765 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.1132/2.608, allocations: 69.64 MB / 1.045 GB, free: 181.4 MB / 0.6544 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches