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.000922/0.0009221, allocations: 95.17 kB / 18 MB, free: 5.609 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.0009529/0.000953, allocations: 176.6 kB / 18.91 MB, free: 4.738 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.385/1.385, allocations: 223.3 MB / 243 MB, free: 14.45 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.2063/0.2063, allocations: 44.24 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1121, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2956/0.4077, allocations: 61.43 MB / 0.5218 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03116/0.4389, allocations: 13.2 MB / 0.5347 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01804/0.457, allocations: 272.5 kB / 0.535 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.4603, allocations: 0.7335 MB / 0.5357 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009049/0.4694, allocations: 2.849 MB / 0.5385 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.4732, allocations: 1.379 MB / 0.5398 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.4877, allocations: 12.2 MB / 0.5517 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.5024, allocations: 8.683 MB / 0.5602 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005244/0.5077, allocations: 2.248 MB / 0.5624 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006514/0.5143, allocations: 3.985 MB / 0.5663 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.5161, allocations: 295.9 kB / 0.5666 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/0.5207, allocations: 1.562 MB / 0.5681 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004587/0.5253, allocations: 3.32 MB / 0.5713 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006485/0.5318, allocations: 3.733 MB / 0.575 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.5447, allocations: 10.47 MB / 0.5852 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5448, allocations: 0 / 0.5852 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5448, allocations: 0 / 0.5852 GB, free: 13.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004671/0.5452, allocations: 0 / 0.5852 GB, free: 13.62 MB / 430.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.01867/0.5639, allocations: 7.425 MB / 0.5925 GB, free: 6.156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.564, allocations: 8.031 kB / 0.5925 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/0.5819, allocations: 4.197 MB / 0.5966 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.5932, allocations: 5.09 MB / 0.6015 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00045/0.5937, allocations: 431.3 kB / 0.602 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/0.5961, allocations: 0.6001 MB / 0.6025 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04375/0.6399, allocations: 20.68 MB / 0.6227 GB, free: 6.316 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004191/0.6404, allocations: 75.25 kB / 0.6228 GB, free: 6.242 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002221/0.6426, allocations: 266.8 kB / 0.6231 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006197/0.6488, allocations: 3.716 MB / 0.6267 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03947/0.6883, allocations: 18.25 MB / 0.6445 GB, free: 92 kB / 478.1 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.5871/1.276, allocations: 74.54 MB / 0.7173 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/1.295, allocations: 7.462 MB / 0.7246 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006203/1.301, allocations: 4.113 MB / 0.7286 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02629/1.328, allocations: 18.17 MB / 0.7464 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/1.328, allocations: 69.27 kB / 0.7464 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 7.153e-06/1.328, allocations: 0 / 0.7464 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.1098/1.438, allocations: 35.32 MB / 0.7809 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/1.438, allocations: 199.1 kB / 0.7811 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007625/1.445, allocations: 6.466 MB / 0.7874 GB, free: 97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007709/1.446, allocations: 87.73 kB / 0.7875 GB, free: 96.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002674/1.449, allocations: 5.36 MB / 0.7927 GB, free: 91.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/1.45, allocations: 1.549 MB / 0.7943 GB, free: 90.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/1.452, allocations: 0.92 MB / 0.7952 GB, free: 89.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.446e-05/1.452, allocations: 301.1 kB / 0.7954 GB, free: 88.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005736/1.457, allocations: 4.331 MB / 0.7997 GB, free: 84.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008515/1.466, allocations: 10.29 MB / 0.8097 GB, free: 71.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/1.482, allocations: 15.67 MB / 0.825 GB, free: 53.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000184/1.482, allocations: 63.94 kB / 0.8251 GB, free: 52.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03086/1.513, allocations: 16.35 MB / 0.841 GB, free: 36.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.513, allocations: 92 kB / 0.8411 GB, free: 36.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/1.513, allocations: 211.9 kB / 0.8413 GB, free: 36.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007495/1.521, allocations: 2.373 MB / 0.8437 GB, free: 33.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008101/1.529, allocations: 2.465 MB / 0.8461 GB, free: 31.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/1.545, allocations: 11.91 MB / 0.8577 GB, free: 19.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008426/1.554, allocations: 0.5975 MB / 0.8583 GB, free: 18.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.555, allocations: 0.5944 MB / 0.8589 GB, free: 18.23 MB / 0.5294 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.006221/1.562, allocations: 3.775 MB / 0.8625 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.563, allocations: 0.5901 MB / 0.8631 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/1.578, allocations: 8.335 MB / 0.8713 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.581e-05/1.578, allocations: 65.19 kB / 0.8713 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.578, allocations: 8 kB / 0.8713 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-05/1.578, allocations: 19.92 kB / 0.8714 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03846/1.617, allocations: 18.96 MB / 0.8899 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/1.617, allocations: 12 kB / 0.8899 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/1.62, allocations: 0.6288 MB / 0.8905 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006999/1.627, allocations: 1.811 MB / 0.8923 GB, free: 15.58 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005387/1.627, allocations: 82.17 kB / 0.8923 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/1.644, allocations: 10.01 MB / 0.9021 GB, free: 5.359 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.517e-05/1.644, allocations: 19.94 kB / 0.9021 GB, free: 5.34 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02262/1.667, allocations: 12.48 MB / 0.9143 GB, free: 8.578 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.668, allocations: 0.6377 MB / 0.9149 GB, free: 7.914 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.67, allocations: 80.84 kB / 0.915 GB, free: 7.836 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002867/1.673, allocations: 208.8 kB / 0.9152 GB, free: 7.633 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/1.673, allocations: 265.6 kB / 0.9155 GB, free: 7.371 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002716/1.674, allocations: 113.1 kB / 0.9156 GB, free: 7.262 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006774/1.68, allocations: 4.02 MB / 0.9195 GB, free: 3.25 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.91e-07/1.68, allocations: 4 kB / 0.9195 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009378/1.69, allocations: 1.958 MB / 0.9214 GB, free: 1.301 MB / 0.5763 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.0009736/1.691, allocations: 289.5 kB / 0.9217 GB, free: 1.023 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2654/1.956, allocations: 10.11 MB / 0.9316 GB, free: 213.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.92e-05/1.956, allocations: 4.188 kB / 0.9316 GB, free: 213.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006647/1.963, allocations: 3.39 MB / 0.9349 GB, free: 211.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01602/1.979, allocations: 0.7677 MB / 0.9356 GB, free: 211.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03314/2.012, allocations: 22.51 MB / 0.9576 GB, free: 199.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006356/2.019, allocations: 5.565 MB / 0.963 GB, free: 197.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/2.021, allocations: 492.8 kB / 0.9635 GB, free: 197.7 MB / 0.5763 GB Notification: Performance of SimCode: time 2.124e-06/2.021, allocations: 0 / 0.9635 GB, free: 197.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.171/2.192, allocations: 139.8 MB / 1.1 GB, free: 64.39 MB / 0.5763 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/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