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.001748/0.001749, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002622/0.002622, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2377/0.2377, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.89 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4315, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02092/0.4525, allocations: 17.64 MB / 0.5482 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01683/0.4694, allocations: 5.688 MB / 0.5538 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005491/0.4749, allocations: 111.7 kB / 0.5539 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009719/0.4847, allocations: 4.567 MB / 0.5583 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.4949, allocations: 3.069 MB / 0.5613 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.4991, allocations: 1.497 MB / 0.5628 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01716/0.5163, allocations: 8.935 MB / 0.5715 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01454/0.5309, allocations: 6.435 MB / 0.5778 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.541, allocations: 3.014 MB / 0.5807 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.5518, allocations: 4.261 MB / 0.5849 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002943/0.5548, allocations: 0.6602 MB / 0.5856 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.5611, allocations: 1.842 MB / 0.5873 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006528/0.5676, allocations: 3.713 MB / 0.591 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01002/0.5777, allocations: 4.179 MB / 0.5951 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02889/0.6066, allocations: 13.49 MB / 0.6082 GB, free: 2.316 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6067, allocations: 0 / 0.6082 GB, free: 2.316 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6067, allocations: 0 / 0.6082 GB, free: 2.316 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005061/0.6072, allocations: 0 / 0.6082 GB, free: 2.316 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.04171/0.649, allocations: 8.971 MB / 0.617 GB, free: 9.258 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.649, allocations: 8.031 kB / 0.617 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03127/0.6803, allocations: 4.1 MB / 0.621 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/0.6942, allocations: 5.072 MB / 0.626 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.6947, allocations: 434.9 kB / 0.6264 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/0.6978, allocations: 0.6009 MB / 0.627 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04168/0.7394, allocations: 20.62 MB / 0.6471 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002609/0.7398, allocations: 83.25 kB / 0.6472 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/0.7411, allocations: 275.7 kB / 0.6474 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005537/0.7467, allocations: 3.714 MB / 0.6511 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03988/0.7866, allocations: 18.21 MB / 0.6688 GB, free: 2.887 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.7606/1.547, allocations: 74.26 MB / 0.7414 GB, free: 114 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/1.564, allocations: 7.471 MB / 0.7487 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004538/1.568, allocations: 4.115 MB / 0.7527 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02467/1.593, allocations: 18.28 MB / 0.7705 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.593, allocations: 65.25 kB / 0.7706 GB, free: 100.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 6.633e-06/1.593, allocations: 0 / 0.7706 GB, free: 100.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1056/1.699, allocations: 34.7 MB / 0.8045 GB, free: 68.54 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/1.699, allocations: 196.9 kB / 0.8047 GB, free: 68.31 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/1.709, allocations: 6.462 MB / 0.811 GB, free: 61.84 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009834/1.71, allocations: 84.91 kB / 0.8111 GB, free: 61.76 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002659/1.713, allocations: 5.368 MB / 0.8163 GB, free: 56.39 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/1.715, allocations: 1.543 MB / 0.8178 GB, free: 54.86 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003/1.718, allocations: 2.134 MB / 0.8199 GB, free: 52.72 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/1.718, allocations: 309 kB / 0.8202 GB, free: 52.41 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005774/1.724, allocations: 4.335 MB / 0.8244 GB, free: 48.07 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009058/1.733, allocations: 10.29 MB / 0.8345 GB, free: 34.98 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/1.75, allocations: 15.67 MB / 0.8498 GB, free: 16.48 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002254/1.75, allocations: 60 kB / 0.8498 GB, free: 16.43 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03586/1.786, allocations: 16.37 MB / 0.8658 GB, free: 32 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003455/1.786, allocations: 96.05 kB / 0.8659 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004531/1.787, allocations: 204 kB / 0.8661 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008453/1.795, allocations: 2.369 MB / 0.8684 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009165/1.804, allocations: 2.46 MB / 0.8708 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/1.827, allocations: 12.75 MB / 0.8833 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/1.838, allocations: 0.5892 MB / 0.8838 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/1.841, allocations: 0.6088 MB / 0.8844 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.0105/1.851, allocations: 3.768 MB / 0.8881 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002256/1.853, allocations: 0.5862 MB / 0.8887 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02109/1.875, allocations: 8.333 MB / 0.8968 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/1.875, allocations: 63.98 kB / 0.8969 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.116e-05/1.875, allocations: 8.047 kB / 0.8969 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.82e-05/1.875, allocations: 19.88 kB / 0.8969 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05288/1.928, allocations: 18.84 MB / 0.9153 GB, free: 12.84 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001101/1.928, allocations: 12 kB / 0.9153 GB, free: 12.83 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003588/1.932, allocations: 0.6201 MB / 0.9159 GB, free: 12.21 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007099/1.939, allocations: 1.808 MB / 0.9177 GB, free: 10.39 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009895/1.94, allocations: 87.58 kB / 0.9178 GB, free: 10.31 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01989/1.96, allocations: 10.83 MB / 0.9284 GB, free: 15.36 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-05/1.96, allocations: 19.94 kB / 0.9284 GB, free: 15.34 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02543/1.985, allocations: 12.47 MB / 0.9406 GB, free: 2.586 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.987, allocations: 0.6301 MB / 0.9412 GB, free: 1.93 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/1.989, allocations: 79.94 kB / 0.9412 GB, free: 1.852 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/1.992, allocations: 203.7 kB / 0.9414 GB, free: 1.652 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008708/1.993, allocations: 261.7 kB / 0.9417 GB, free: 1.395 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/1.993, allocations: 116 kB / 0.9418 GB, free: 1.281 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007786/2.001, allocations: 4.024 MB / 0.9457 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.61e-07/2.001, allocations: 0 / 0.9457 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01161/2.012, allocations: 1.918 MB / 0.9476 GB, free: 11.36 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.001151/2.014, allocations: 282.3 kB / 0.9479 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0213/2.035, allocations: 10.2 MB / 0.9578 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.932e-05/2.035, allocations: 0 / 0.9578 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006302/2.041, allocations: 3.397 MB / 0.9611 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005816/2.047, allocations: 0.7949 MB / 0.9619 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3502/2.397, allocations: 17.63 MB / 0.9791 GB, free: 246.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01127/2.409, allocations: 5.582 MB / 0.9846 GB, free: 245.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009042/2.418, allocations: 3.315 MB / 0.9878 GB, free: 245.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/2.42, allocations: 414.5 kB / 0.9882 GB, free: 245.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.322e-06/2.42, allocations: 0 / 0.9882 GB, free: 245.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1119/2.532, allocations: 69.4 MB / 1.056 GB, free: 190.9 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