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/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.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/ModelicaServices trunk/package.mo): time 0.0007832/0.0007832, allocations: 91.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008537/0.0008539, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1987/0.1987, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004422, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1458, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3248/0.4706, allocations: 66.29 MB / 0.5365 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04145/0.5121, allocations: 14 MB / 0.5502 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01883/0.531, allocations: 308.8 kB / 0.5505 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.5342, allocations: 0.5959 MB / 0.551 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009036/0.5433, allocations: 2.449 MB / 0.5534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.5468, allocations: 1.28 MB / 0.5547 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01516/0.562, allocations: 11.78 MB / 0.5662 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.5758, allocations: 9.512 MB / 0.5755 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004393/0.5803, allocations: 1.992 MB / 0.5774 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006184/0.5865, allocations: 3.372 MB / 0.5807 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.5877, allocations: 240 kB / 0.5809 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.5915, allocations: 1.467 MB / 0.5824 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003272/0.5948, allocations: 2.863 MB / 0.5852 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004525/0.5993, allocations: 3.158 MB / 0.5883 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01391/0.6132, allocations: 11.1 MB / 0.5991 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6133, allocations: 0 / 0.5991 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6133, allocations: 0 / 0.5991 GB, free: 15.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004311/0.6137, allocations: 4 kB / 0.5991 GB, free: 15.73 MB / 446.1 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.01803/0.6318, allocations: 6.482 MB / 0.6054 GB, free: 9.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.411e-05/0.6319, allocations: 12.88 kB / 0.6054 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/0.6481, allocations: 3.116 MB / 0.6085 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.6616, allocations: 4.931 MB / 0.6133 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/0.662, allocations: 382.4 kB / 0.6137 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.6645, allocations: 0.5074 MB / 0.6142 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/0.6984, allocations: 15.57 MB / 0.6294 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002632/0.6987, allocations: 63.38 kB / 0.6294 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.6998, allocations: 235.8 kB / 0.6297 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004101/0.7039, allocations: 2.556 MB / 0.6321 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02972/0.7337, allocations: 13.15 MB / 0.645 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0878/0.8215, allocations: 57.55 MB / 0.7012 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2581/1.08, allocations: 6.43 MB / 0.7075 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005152/1.085, allocations: 3.447 MB / 0.7108 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/1.102, allocations: 11.64 MB / 0.7222 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/1.102, allocations: 66.91 kB / 0.7223 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 6.081e-06/1.102, allocations: 0 / 0.7223 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1314/1.234, allocations: 39.17 MB / 0.7605 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/1.234, allocations: 239.8 kB / 0.7607 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008658/1.242, allocations: 5.706 MB / 0.7663 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008906/1.243, allocations: 77.7 kB / 0.7664 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001959/1.245, allocations: 4.341 MB / 0.7706 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.246, allocations: 1.26 MB / 0.7719 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/1.247, allocations: 0.7531 MB / 0.7726 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.53e-05/1.247, allocations: 305.1 kB / 0.7729 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005147/1.253, allocations: 4.093 MB / 0.7769 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007034/1.26, allocations: 8.666 MB / 0.7854 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/1.274, allocations: 13.57 MB / 0.7986 GB, free: 104 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001508/1.274, allocations: 51.98 kB / 0.7987 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03215/1.306, allocations: 16.39 MB / 0.8147 GB, free: 87.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002114/1.306, allocations: 72.19 kB / 0.8147 GB, free: 87.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002833/1.306, allocations: 164 kB / 0.8149 GB, free: 87.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/1.32, allocations: 4.285 MB / 0.8191 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006253/1.326, allocations: 1.899 MB / 0.8209 GB, free: 81.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02816/1.354, allocations: 20.18 MB / 0.8406 GB, free: 60.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007562/1.362, allocations: 0.5185 MB / 0.8411 GB, free: 60.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/1.364, allocations: 484 kB / 0.8416 GB, free: 59.77 MB / 0.5294 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.007719/1.372, allocations: 3.112 MB / 0.8446 GB, free: 56.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001805/1.374, allocations: 0.5168 MB / 0.8451 GB, free: 56.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02207/1.396, allocations: 10.11 MB / 0.855 GB, free: 45.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-05/1.396, allocations: 40.72 kB / 0.8551 GB, free: 45.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.93e-05/1.396, allocations: 16 kB / 0.8551 GB, free: 45.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-05/1.396, allocations: 15.95 kB / 0.8551 GB, free: 45.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04535/1.441, allocations: 20.16 MB / 0.8748 GB, free: 25.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-05/1.441, allocations: 8 kB / 0.8748 GB, free: 25.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/1.444, allocations: 499.9 kB / 0.8753 GB, free: 25.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01272/1.457, allocations: 3.844 MB / 0.879 GB, free: 21.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009396/1.458, allocations: 71.03 kB / 0.8791 GB, free: 21.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02677/1.485, allocations: 17.77 MB / 0.8964 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/1.485, allocations: 15.88 kB / 0.8965 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2913/1.776, allocations: 14.92 MB / 0.911 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.778, allocations: 0.581 MB / 0.9116 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009859/1.779, allocations: 66.55 kB / 0.9117 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00299/1.782, allocations: 233.5 kB / 0.9119 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008068/1.782, allocations: 227.8 kB / 0.9121 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.783, allocations: 98.92 kB / 0.9122 GB, free: 172.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00636/1.789, allocations: 3.599 MB / 0.9157 GB, free: 171.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.41e-07/1.789, allocations: 0 / 0.9157 GB, free: 171.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007985/1.797, allocations: 1.768 MB / 0.9174 GB, free: 171.6 MB / 0.545 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.0008636/1.798, allocations: 248 kB / 0.9177 GB, free: 171.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01388/1.812, allocations: 9.813 MB / 0.9273 GB, free: 167.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.812, allocations: 1.156 kB / 0.9273 GB, free: 167.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004853/1.817, allocations: 3.781 MB / 0.9309 GB, free: 166.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/1.827, allocations: 0.6975 MB / 0.9316 GB, free: 165.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/1.854, allocations: 19.23 MB / 0.9504 GB, free: 155.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007805/1.862, allocations: 4.826 MB / 0.9551 GB, free: 154.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007458/1.869, allocations: 2.574 MB / 0.9576 GB, free: 152.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/1.871, allocations: 359.1 kB / 0.958 GB, free: 152.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.292e-06/1.871, allocations: 0 / 0.958 GB, free: 152.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1081/1.979, allocations: 74.1 MB / 1.03 GB, free: 79.97 MB / 0.545 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches