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.001489/0.00149, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 79.86 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4396, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01877/0.4584, allocations: 15.98 MB / 0.5466 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.4722, allocations: 5.45 MB / 0.5519 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004449/0.4767, allocations: 115.6 kB / 0.552 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009823/0.4866, allocations: 5.113 MB / 0.557 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008627/0.4953, allocations: 2.668 MB / 0.5596 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003959/0.4993, allocations: 1.381 MB / 0.561 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.5132, allocations: 8.246 MB / 0.569 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.5236, allocations: 7.026 MB / 0.5759 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006428/0.5301, allocations: 2.777 MB / 0.5786 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00647/0.5366, allocations: 3.751 MB / 0.5823 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002543/0.5392, allocations: 0.6367 MB / 0.5829 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004981/0.5442, allocations: 1.771 MB / 0.5846 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005081/0.5493, allocations: 3.355 MB / 0.5879 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008286/0.5577, allocations: 3.687 MB / 0.5915 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.5771, allocations: 11.93 MB / 0.6031 GB, free: 7.559 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.5771, allocations: 0 / 0.6031 GB, free: 7.559 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5771, allocations: 0 / 0.6031 GB, free: 7.559 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004545/0.5776, allocations: 0 / 0.6031 GB, free: 7.559 MB / 462.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.02631/0.6039, allocations: 7.874 MB / 0.6108 GB, free: 15.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.604, allocations: 16.03 kB / 0.6108 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.6194, allocations: 3.046 MB / 0.6138 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.6323, allocations: 5.049 MB / 0.6187 GB, free: 7.398 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004472/0.6328, allocations: 382.2 kB / 0.6191 GB, free: 7.023 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/0.6352, allocations: 0.5151 MB / 0.6196 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03473/0.6699, allocations: 15.52 MB / 0.6348 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002957/0.6702, allocations: 59.44 kB / 0.6348 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001839/0.6721, allocations: 239.8 kB / 0.6351 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004134/0.6762, allocations: 2.548 MB / 0.6375 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02938/0.7056, allocations: 13.1 MB / 0.6503 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08058/0.7862, allocations: 57.3 MB / 0.7063 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/0.804, allocations: 6.395 MB / 0.7125 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005004/0.809, allocations: 3.451 MB / 0.7159 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3557/1.165, allocations: 11.63 MB / 0.7273 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.165, allocations: 59.09 kB / 0.7273 GB, free: 158 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 5.3e-06/1.165, allocations: 0 / 0.7273 GB, free: 158 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1277/1.293, allocations: 39.14 MB / 0.7656 GB, free: 130 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/1.293, allocations: 239.8 kB / 0.7658 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007591/1.3, allocations: 5.702 MB / 0.7714 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/1.301, allocations: 77.7 kB / 0.7714 GB, free: 124 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002189/1.304, allocations: 4.335 MB / 0.7757 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/1.305, allocations: 1.266 MB / 0.7769 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002569/1.308, allocations: 1.753 MB / 0.7786 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.659e-05/1.308, allocations: 309 kB / 0.7789 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005033/1.313, allocations: 4.093 MB / 0.7829 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007287/1.32, allocations: 8.671 MB / 0.7914 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0145/1.335, allocations: 13.57 MB / 0.8046 GB, free: 85.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001505/1.335, allocations: 44 kB / 0.8047 GB, free: 85.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03302/1.368, allocations: 16.39 MB / 0.8207 GB, free: 69.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.368, allocations: 76 kB / 0.8207 GB, free: 68.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002266/1.368, allocations: 156 kB / 0.8209 GB, free: 68.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01293/1.381, allocations: 4.278 MB / 0.8251 GB, free: 64.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006335/1.388, allocations: 1.899 MB / 0.8269 GB, free: 62.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02679/1.415, allocations: 21.54 MB / 0.848 GB, free: 40.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007088/1.422, allocations: 0.5032 MB / 0.8484 GB, free: 40.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/1.423, allocations: 480 kB / 0.8489 GB, free: 39.96 MB / 0.5606 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.005559/1.429, allocations: 3.122 MB / 0.852 GB, free: 36.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.43, allocations: 0.5129 MB / 0.8525 GB, free: 36.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/1.45, allocations: 10.12 MB / 0.8623 GB, free: 26.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.34e-05/1.45, allocations: 39.83 kB / 0.8624 GB, free: 26.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.618e-05/1.45, allocations: 12 kB / 0.8624 GB, free: 26.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.756e-05/1.45, allocations: 15.95 kB / 0.8624 GB, free: 26.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03726/1.487, allocations: 20.05 MB / 0.882 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.688e-05/1.487, allocations: 8 kB / 0.882 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/1.49, allocations: 0.4934 MB / 0.8825 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/1.502, allocations: 3.837 MB / 0.8862 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009398/1.503, allocations: 75.83 kB / 0.8863 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02883/1.532, allocations: 19.08 MB / 0.9049 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/1.532, allocations: 11.98 kB / 0.9049 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0295/1.561, allocations: 14.92 MB / 0.9195 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.563, allocations: 0.5763 MB / 0.9201 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001668/1.565, allocations: 68.05 kB / 0.9201 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003446/1.568, allocations: 231.6 kB / 0.9204 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/1.569, allocations: 226.2 kB / 0.9206 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004908/1.57, allocations: 99.89 kB / 0.9207 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008279/1.578, allocations: 3.596 MB / 0.9242 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.21e-07/1.578, allocations: 0 / 0.9242 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01157/1.59, allocations: 1.762 MB / 0.9259 GB, free: 8.531 MB / 0.6075 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.001423/1.591, allocations: 255.7 kB / 0.9261 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01761/1.609, allocations: 9.852 MB / 0.9358 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/1.609, allocations: 4 kB / 0.9358 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.008755/1.618, allocations: 3.79 MB / 0.9395 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006372/1.624, allocations: 0.7289 MB / 0.9402 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3414/1.965, allocations: 15.87 MB / 0.9557 GB, free: 204.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006798/1.972, allocations: 4.824 MB / 0.9604 GB, free: 203.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005341/1.978, allocations: 2.577 MB / 0.9629 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.979, allocations: 348.1 kB / 0.9632 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/1.979, allocations: 0 / 0.9632 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.1148/2.094, allocations: 74.59 MB / 1.036 GB, free: 142.2 MB / 0.6231 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