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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 187 kB / 17.97 MB, free: 3.82 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.6 MB, free: 10.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 97.73 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4654/0.4654, allocations: 44.12 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 59.86 kB / 457.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3356, allocations: 60.8 MB / 0.5064 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0498/0.3854, allocations: 63.04 MB / 0.568 GB, free: 9.035 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03275/0.4183, allocations: 13.27 MB / 0.5809 GB, free: 180 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01462/0.4329, allocations: 278.9 kB / 0.5812 GB, free: 132 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009524/0.4425, allocations: 4.564 MB / 0.5856 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008778/0.4514, allocations: 2.842 MB / 0.5884 GB, free: 11.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.4551, allocations: 1.374 MB / 0.5898 GB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01511/0.4703, allocations: 12.26 MB / 0.6017 GB, free: 14.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009668/0.48, allocations: 6.3 MB / 0.6079 GB, free: 7.875 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005647/0.4857, allocations: 2.651 MB / 0.6105 GB, free: 5.215 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007132/0.4928, allocations: 4.487 MB / 0.6148 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002359/0.4952, allocations: 459.9 kB / 0.6153 GB, free: 272 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004922/0.5002, allocations: 1.728 MB / 0.617 GB, free: 14.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004884/0.5051, allocations: 3.557 MB / 0.6204 GB, free: 10.97 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007294/0.5124, allocations: 4.011 MB / 0.6244 GB, free: 6.934 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01572/0.5282, allocations: 12.96 MB / 0.637 GB, free: 9.934 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5282, allocations: 0 / 0.637 GB, free: 9.934 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5282, allocations: 0 / 0.637 GB, free: 9.934 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004626/0.5287, allocations: 0 / 0.637 GB, free: 9.934 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.02303/0.5517, allocations: 9.021 MB / 0.6458 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.5518, allocations: 12.03 kB / 0.6458 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.5697, allocations: 4.096 MB / 0.6498 GB, free: 12.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01388/0.5836, allocations: 5.099 MB / 0.6548 GB, free: 7.516 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004609/0.5841, allocations: 430.9 kB / 0.6552 GB, free: 7.094 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002746/0.5868, allocations: 0.6049 MB / 0.6558 GB, free: 6.488 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04076/0.6276, allocations: 20.62 MB / 0.6759 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/0.628, allocations: 83.23 kB / 0.676 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/0.6299, allocations: 271.7 kB / 0.6763 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4557/1.086, allocations: 3.712 MB / 0.6799 GB, free: 125.6 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03697/1.123, allocations: 18.19 MB / 0.6977 GB, free: 120 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.1029/1.226, allocations: 74.62 MB / 0.7705 GB, free: 60.66 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/1.242, allocations: 7.449 MB / 0.7778 GB, free: 52.96 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005113/1.247, allocations: 4.116 MB / 0.7818 GB, free: 48.83 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02803/1.275, allocations: 18.2 MB / 0.7996 GB, free: 30.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.275, allocations: 68.53 kB / 0.7997 GB, free: 29.96 MB / 490.8 MB Notification: Performance of pre-optimization done (n=335): time 5.62e-06/1.275, allocations: 3.375 kB / 0.7997 GB, free: 29.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=419): time 0.1093/1.384, allocations: 35.02 MB / 0.8339 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/1.384, allocations: 200.9 kB / 0.8341 GB, free: 10.54 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/1.396, allocations: 6.466 MB / 0.8404 GB, free: 4.066 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009898/1.398, allocations: 85.7 kB / 0.8405 GB, free: 3.977 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004509/1.402, allocations: 5.369 MB / 0.8457 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/1.404, allocations: 1.546 MB / 0.8472 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004286/1.409, allocations: 2.131 MB / 0.8493 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/1.409, allocations: 305.1 kB / 0.8496 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006246/1.415, allocations: 4.339 MB / 0.8538 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009881/1.425, allocations: 10.27 MB / 0.8639 GB, free: 9.02 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2652/1.69, allocations: 15.67 MB / 0.8792 GB, free: 148.6 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000149/1.69, allocations: 59.69 kB / 0.8792 GB, free: 148.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.02959/1.72, allocations: 16.36 MB / 0.8952 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.72, allocations: 90.84 kB / 0.8953 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000229/1.72, allocations: 206.4 kB / 0.8955 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007278/1.728, allocations: 2.365 MB / 0.8978 GB, free: 142.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008059/1.736, allocations: 2.468 MB / 0.9002 GB, free: 142.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/1.755, allocations: 11.89 MB / 0.9118 GB, free: 136.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008531/1.764, allocations: 0.5941 MB / 0.9124 GB, free: 136.6 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002002/1.766, allocations: 0.5978 MB / 0.913 GB, free: 136.6 MB / 0.5262 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.007473/1.773, allocations: 3.766 MB / 0.9167 GB, free: 135 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.775, allocations: 0.5924 MB / 0.9172 GB, free: 134.9 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.792, allocations: 8.336 MB / 0.9254 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.438e-05/1.792, allocations: 57.42 kB / 0.9254 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/1.792, allocations: 11.88 kB / 0.9254 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.008e-05/1.792, allocations: 21.69 kB / 0.9255 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0354/1.827, allocations: 18.95 MB / 0.944 GB, free: 119.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/1.827, allocations: 12 kB / 0.944 GB, free: 119.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/1.83, allocations: 0.6252 MB / 0.9446 GB, free: 118.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006145/1.836, allocations: 1.803 MB / 0.9464 GB, free: 117.6 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004206/1.837, allocations: 87.83 kB / 0.9464 GB, free: 117.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/1.85, allocations: 9.999 MB / 0.9562 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.85, allocations: 19.94 kB / 0.9562 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.14/1.99, allocations: 68.81 MB / 1.023 GB, free: 38.66 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.992, allocations: 0.6223 MB / 1.024 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008399/1.993, allocations: 72 kB / 1.024 GB, free: 37.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/1.995, allocations: 211.8 kB / 1.024 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006127/1.996, allocations: 261.7 kB / 1.025 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/1.996, allocations: 116 kB / 1.025 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0048/2.001, allocations: 4.02 MB / 1.029 GB, free: 33.36 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.5e-07/2.001, allocations: 192 / 1.029 GB, free: 33.36 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01054/2.011, allocations: 2.519 MB / 1.031 GB, free: 30.85 MB / 0.5262 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.001425/2.013, allocations: 297.4 kB / 1.031 GB, free: 30.57 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01437/2.027, allocations: 10.12 MB / 1.041 GB, free: 20.45 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/2.027, allocations: 12 kB / 1.041 GB, free: 20.44 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004595/2.032, allocations: 3.386 MB / 1.045 GB, free: 17.03 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004349/2.036, allocations: 0.7613 MB / 1.045 GB, free: 16.27 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04007/2.076, allocations: 24.5 MB / 1.069 GB, free: 7.539 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2447/2.321, allocations: 5.72 MB / 1.075 GB, free: 154.8 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.008857/2.33, allocations: 3.35 MB / 1.078 GB, free: 154.7 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/2.332, allocations: 435.4 kB / 1.078 GB, free: 154.7 MB / 0.5418 GB Notification: Performance of SimCode: time 1.243e-06/2.332, allocations: 1.859 kB / 1.078 GB, free: 154.7 MB / 0.5418 GB Notification: Performance of Templates: time 0.1412/2.473, allocations: 92.56 MB / 1.169 GB, free: 102.2 MB / 0.5418 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches