Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 107.4 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3354/0.3354, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3179, allocations: 62.01 MB / 0.5151 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.05338/0.3713, allocations: 68.44 MB / 0.582 GB, free: 4.473 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03224/0.4036, allocations: 14.29 MB / 0.5959 GB, free: 6.617 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01777/0.4214, allocations: 303.2 kB / 0.5962 GB, free: 6.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008895/0.4304, allocations: 5.12 MB / 0.6012 GB, free: 1.188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006286/0.4367, allocations: 2.46 MB / 0.6036 GB, free: 14.72 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.4397, allocations: 1.283 MB / 0.6049 GB, free: 13.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.4532, allocations: 11.85 MB / 0.6165 GB, free: 1.559 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009887/0.4631, allocations: 6.878 MB / 0.6232 GB, free: 10.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/0.4689, allocations: 2.465 MB / 0.6256 GB, free: 8.121 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006889/0.4758, allocations: 3.957 MB / 0.6294 GB, free: 4.152 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002214/0.4781, allocations: 428 kB / 0.6298 GB, free: 3.734 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.4826, allocations: 1.642 MB / 0.6315 GB, free: 2.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004317/0.487, allocations: 3.16 MB / 0.6345 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005958/0.493, allocations: 3.499 MB / 0.638 GB, free: 11.4 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.5068, allocations: 11.51 MB / 0.6492 GB, free: 15.85 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5069, allocations: 7.938 kB / 0.6492 GB, free: 15.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5069, allocations: 0 / 0.6492 GB, free: 15.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005118/0.5074, allocations: 0 / 0.6492 GB, free: 15.84 MB / 474.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.02511/0.5326, allocations: 7.92 MB / 0.6569 GB, free: 7.844 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5326, allocations: 8.031 kB / 0.6569 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.5476, allocations: 3.057 MB / 0.6599 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.5592, allocations: 4.936 MB / 0.6647 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.5596, allocations: 378.1 kB / 0.6651 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/0.5615, allocations: 0.5113 MB / 0.6656 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.273/0.8345, allocations: 15.52 MB / 0.6808 GB, free: 125.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000501/0.8351, allocations: 59.94 kB / 0.6808 GB, free: 125.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001678/0.8368, allocations: 232.5 kB / 0.681 GB, free: 125.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003853/0.8406, allocations: 2.554 MB / 0.6835 GB, free: 124.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02504/0.8657, allocations: 13.1 MB / 0.6963 GB, free: 120.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0713/0.937, allocations: 57.6 MB / 0.7526 GB, free: 78.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/0.9526, allocations: 6.362 MB / 0.7588 GB, free: 72.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/0.9563, allocations: 3.454 MB / 0.7622 GB, free: 68.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01647/0.9728, allocations: 11.57 MB / 0.7734 GB, free: 56.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.9728, allocations: 60.56 kB / 0.7735 GB, free: 56.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 5.13e-06/0.9729, allocations: 0 / 0.7735 GB, free: 56.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=343): time 0.1241/1.097, allocations: 39.54 MB / 0.8121 GB, free: 16.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/1.097, allocations: 243.8 kB / 0.8124 GB, free: 16.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006941/1.104, allocations: 5.707 MB / 0.8179 GB, free: 10.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007561/1.105, allocations: 73.7 kB / 0.818 GB, free: 10.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/1.107, allocations: 4.344 MB / 0.8222 GB, free: 6.375 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.108, allocations: 1.272 MB / 0.8235 GB, free: 5.086 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002205/1.11, allocations: 1.749 MB / 0.8252 GB, free: 3.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.737e-05/1.11, allocations: 301.1 kB / 0.8255 GB, free: 3.023 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005148/1.116, allocations: 4.085 MB / 0.8295 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.126, allocations: 8.676 MB / 0.8379 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01738/1.143, allocations: 13.56 MB / 0.8512 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/1.143, allocations: 48 kB / 0.8512 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03526/1.179, allocations: 16.38 MB / 0.8672 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.179, allocations: 72 kB / 0.8673 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/1.179, allocations: 160 kB / 0.8674 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01434/1.193, allocations: 4.279 MB / 0.8716 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006686/1.2, allocations: 1.899 MB / 0.8735 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2789/1.479, allocations: 20.18 MB / 0.8932 GB, free: 166.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007217/1.486, allocations: 0.5048 MB / 0.8937 GB, free: 166.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/1.488, allocations: 486.3 kB / 0.8941 GB, free: 166 MB / 0.5417 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.005421/1.493, allocations: 3.117 MB / 0.8972 GB, free: 164.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.494, allocations: 0.5199 MB / 0.8977 GB, free: 164.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02034/1.515, allocations: 10.1 MB / 0.9076 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.717e-05/1.515, allocations: 38.89 kB / 0.9076 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.258e-05/1.515, allocations: 17.78 kB / 0.9076 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.016e-05/1.515, allocations: 20.47 kB / 0.9076 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04563/1.561, allocations: 20.16 MB / 0.9273 GB, free: 154.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.737e-05/1.561, allocations: 7.906 kB / 0.9273 GB, free: 154.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002602/1.563, allocations: 0.4984 MB / 0.9278 GB, free: 154.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0129/1.576, allocations: 3.835 MB / 0.9316 GB, free: 153.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008531/1.577, allocations: 67.83 kB / 0.9316 GB, free: 153.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/1.6, allocations: 17.8 MB / 0.949 GB, free: 145 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/1.6, allocations: 11.56 kB / 0.949 GB, free: 145 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2253/1.826, allocations: 123.4 MB / 1.07 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/1.827, allocations: 0.5724 MB / 1.07 GB, free: 21.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.828, allocations: 63.98 kB / 1.07 GB, free: 21.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/1.831, allocations: 227.7 kB / 1.07 GB, free: 20.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000786/1.832, allocations: 230.2 kB / 1.071 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/1.832, allocations: 99.67 kB / 1.071 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004653/1.837, allocations: 3.604 MB / 1.074 GB, free: 17.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/1.837, allocations: 0 / 1.074 GB, free: 17.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009458/1.847, allocations: 2.484 MB / 1.077 GB, free: 14.58 MB / 0.5417 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.0008806/1.847, allocations: 260.4 kB / 1.077 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.861, allocations: 9.805 MB / 1.086 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.861, allocations: 0 / 1.086 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.2102/2.071, allocations: 3.789 MB / 1.09 GB, free: 164.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004805/2.076, allocations: 0.6887 MB / 1.091 GB, free: 164.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03257/2.108, allocations: 21.8 MB / 1.112 GB, free: 157.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008349/2.117, allocations: 4.954 MB / 1.117 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008732/2.126, allocations: 2.675 MB / 1.12 GB, free: 156.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/2.128, allocations: 361.7 kB / 1.12 GB, free: 156.1 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/2.128, allocations: 0 / 1.12 GB, free: 156.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.1494/2.277, allocations: 112.2 MB / 1.229 GB, free: 64.19 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches