Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 183 kB / 16.63 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 222.5 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009885/0.0009887, allocations: 102.3 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3574/0.3574, allocations: 43.48 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001003, allocations: 59.91 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1198, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2817/0.4016, allocations: 68.47 MB / 0.5424 GB, free: 21.29 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03402/0.4356, allocations: 14.26 MB / 0.5564 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01749/0.4532, allocations: 302.8 kB / 0.5567 GB, free: 11.7 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008347/0.4616, allocations: 5.145 MB / 0.5617 GB, free: 9.305 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007119/0.4688, allocations: 2.476 MB / 0.5641 GB, free: 8.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.4719, allocations: 1.289 MB / 0.5654 GB, free: 7.621 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01959/0.4915, allocations: 10.96 MB / 0.5761 GB, free: 4.504 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009606/0.5011, allocations: 6.884 MB / 0.5828 GB, free: 1.273 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00599/0.5072, allocations: 2.466 MB / 0.5852 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007926/0.5151, allocations: 3.959 MB / 0.5891 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002978/0.5182, allocations: 432 kB / 0.5895 GB, free: 12.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005944/0.5241, allocations: 1.658 MB / 0.5911 GB, free: 10.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006111/0.5303, allocations: 3.172 MB / 0.5942 GB, free: 7.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007319/0.5376, allocations: 3.503 MB / 0.5976 GB, free: 4.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.5532, allocations: 11.53 MB / 0.6089 GB, free: 8.656 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.5532, allocations: 0 / 0.6089 GB, free: 8.656 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5533, allocations: 4 kB / 0.6089 GB, free: 8.652 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004978/0.5538, allocations: 0 / 0.6089 GB, free: 8.652 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.0268/0.5806, allocations: 7.916 MB / 0.6166 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5806, allocations: 8.031 kB / 0.6166 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/0.5963, allocations: 3.053 MB / 0.6196 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.6112, allocations: 5.174 MB / 0.6247 GB, free: 8.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/0.6117, allocations: 386.4 kB / 0.625 GB, free: 7.945 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/0.6142, allocations: 0.5113 MB / 0.6255 GB, free: 7.434 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03634/0.6506, allocations: 15.52 MB / 0.6407 GB, free: 7.016 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004028/0.651, allocations: 59.44 kB / 0.6407 GB, free: 6.957 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002189/0.6532, allocations: 231.8 kB / 0.641 GB, free: 6.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00427/0.6575, allocations: 2.552 MB / 0.6434 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02867/0.6862, allocations: 13.09 MB / 0.6562 GB, free: 7.062 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3167/1.003, allocations: 57.62 MB / 0.7125 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.019, allocations: 6.374 MB / 0.7187 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004111/1.023, allocations: 3.443 MB / 0.7221 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01659/1.039, allocations: 11.58 MB / 0.7334 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.039, allocations: 56.97 kB / 0.7334 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=248): time 4.979e-06/1.039, allocations: 0 / 0.7334 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=343): time 0.1305/1.17, allocations: 39.6 MB / 0.7721 GB, free: 96.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.17, allocations: 242.9 kB / 0.7723 GB, free: 96.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007944/1.178, allocations: 5.736 MB / 0.7779 GB, free: 92.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008344/1.179, allocations: 77.7 kB / 0.778 GB, free: 92.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002337/1.181, allocations: 4.355 MB / 0.7823 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001574/1.183, allocations: 1.265 MB / 0.7835 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002249/1.185, allocations: 1.749 MB / 0.7852 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.843e-05/1.185, allocations: 301.1 kB / 0.7855 GB, free: 84.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00554/1.191, allocations: 4.081 MB / 0.7895 GB, free: 80.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008157/1.199, allocations: 8.673 MB / 0.798 GB, free: 69.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/1.213, allocations: 13.57 MB / 0.8112 GB, free: 53.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001875/1.213, allocations: 48 kB / 0.8113 GB, free: 53.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03433/1.247, allocations: 16.38 MB / 0.8273 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/1.248, allocations: 75.94 kB / 0.8273 GB, free: 37.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002398/1.248, allocations: 160 kB / 0.8275 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01323/1.261, allocations: 4.282 MB / 0.8317 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006383/1.268, allocations: 1.899 MB / 0.8335 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02783/1.295, allocations: 20.16 MB / 0.8532 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008321/1.304, allocations: 0.5091 MB / 0.8537 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/1.306, allocations: 480 kB / 0.8542 GB, free: 9.715 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1031): * Single equations (assignments): 1027 * Array equations: 3 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008022/1.314, allocations: 3.129 MB / 0.8572 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001806/1.316, allocations: 0.5245 MB / 0.8577 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02474/1.341, allocations: 10.11 MB / 0.8676 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.598e-05/1.341, allocations: 39.12 kB / 0.8676 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.825e-05/1.341, allocations: 16 kB / 0.8677 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.782e-05/1.341, allocations: 23.88 kB / 0.8677 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05137/1.392, allocations: 20.16 MB / 0.8874 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.698e-05/1.392, allocations: 12.03 kB / 0.8874 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.395, allocations: 0.4914 MB / 0.8879 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01336/1.408, allocations: 3.833 MB / 0.8916 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007927/1.409, allocations: 69.88 kB / 0.8917 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2179/1.627, allocations: 17.81 MB / 0.9091 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.627, allocations: 9.844 kB / 0.9091 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2405/1.868, allocations: 124.3 MB / 1.03 GB, free: 75.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004736/1.872, allocations: 1.173 MB / 1.032 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/1.874, allocations: 68.08 kB / 1.032 GB, free: 74.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005362/1.879, allocations: 227.7 kB / 1.032 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001198/1.881, allocations: 230.2 kB / 1.032 GB, free: 74.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000427/1.881, allocations: 97.62 kB / 1.032 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007856/1.889, allocations: 3.624 MB / 1.036 GB, free: 70.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/1.889, allocations: 4 kB / 1.036 GB, free: 70.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0145/1.903, allocations: 2.496 MB / 1.038 GB, free: 68.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * 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 (261): * Single equations (assignments): 257 * Array equations: 3 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009789/1.905, allocations: 269.2 kB / 1.038 GB, free: 67.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.917, allocations: 9.792 MB / 1.048 GB, free: 58.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.917, allocations: 4.875 kB / 1.048 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/1.922, allocations: 3.788 MB / 1.052 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/1.925, allocations: 0.689 MB / 1.052 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/1.952, allocations: 21.86 MB / 1.074 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004877/1.957, allocations: 4.977 MB / 1.079 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006192/1.963, allocations: 2.661 MB / 1.081 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.965, allocations: 363.4 kB / 1.082 GB, free: 23.53 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/1.965, allocations: 0 / 1.082 GB, free: 23.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.332/2.297, allocations: 112.3 MB / 1.191 GB, free: 92.91 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches