Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007862/0.0007862, allocations: 91.41 kB / 299.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3399/0.3399, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 470.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3097, allocations: 63.08 MB / 0.5214 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.04855/0.3582, allocations: 62.3 MB / 0.5822 GB, free: 8.527 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03218/0.3905, allocations: 17.76 MB / 0.5995 GB, free: 6.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01373/0.4042, allocations: 299.2 kB / 0.5998 GB, free: 5.727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.407, allocations: 0.6024 MB / 0.6004 GB, free: 5.121 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008234/0.4152, allocations: 2.46 MB / 0.6028 GB, free: 2.652 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.4187, allocations: 1.276 MB / 0.6041 GB, free: 1.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01442/0.4331, allocations: 11.84 MB / 0.6156 GB, free: 5.508 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01493/0.4481, allocations: 11.45 MB / 0.6268 GB, free: 9.461 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.4522, allocations: 2.199 MB / 0.629 GB, free: 7.254 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004991/0.4572, allocations: 3.352 MB / 0.6322 GB, free: 3.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.4586, allocations: 236 kB / 0.6325 GB, free: 3.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.4624, allocations: 1.439 MB / 0.6339 GB, free: 2.219 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003796/0.4662, allocations: 2.844 MB / 0.6366 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005189/0.4714, allocations: 3.181 MB / 0.6397 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.4842, allocations: 11.15 MB / 0.6506 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4843, allocations: 0 / 0.6506 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4843, allocations: 0 / 0.6506 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004416/0.4847, allocations: 0 / 0.6506 GB, free: 0.9648 MB / 458.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.01471/0.4994, allocations: 6.532 MB / 0.657 GB, free: 10.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4995, allocations: 8.031 kB / 0.657 GB, free: 10.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.513, allocations: 3.108 MB / 0.6601 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.5245, allocations: 4.939 MB / 0.6649 GB, free: 2.203 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003897/0.525, allocations: 378.2 kB / 0.6652 GB, free: 1.832 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/0.527, allocations: 0.5113 MB / 0.6657 GB, free: 1.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03218/0.5592, allocations: 15.53 MB / 0.6809 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003517/0.5596, allocations: 63.44 kB / 0.681 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00179/0.5614, allocations: 231.8 kB / 0.6812 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2619/0.8234, allocations: 2.542 MB / 0.6837 GB, free: 128.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/0.8484, allocations: 13.09 MB / 0.6964 GB, free: 124.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06681/0.9152, allocations: 57.57 MB / 0.7527 GB, free: 79.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/0.9298, allocations: 6.402 MB / 0.7589 GB, free: 73.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/0.9336, allocations: 3.446 MB / 0.7623 GB, free: 69.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/0.948, allocations: 11.56 MB / 0.7736 GB, free: 57.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.9481, allocations: 64.44 kB / 0.7736 GB, free: 57.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 5.17e-06/0.9481, allocations: 0 / 0.7736 GB, free: 57.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=343): time 0.1182/1.066, allocations: 39.57 MB / 0.8123 GB, free: 18.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/1.066, allocations: 243.9 kB / 0.8125 GB, free: 17.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008187/1.075, allocations: 5.664 MB / 0.818 GB, free: 12.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.076, allocations: 77.7 kB / 0.8181 GB, free: 12.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002402/1.078, allocations: 4.346 MB / 0.8224 GB, free: 7.902 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.08, allocations: 1.258 MB / 0.8236 GB, free: 6.652 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004192/1.08, allocations: 175.9 kB / 0.8238 GB, free: 6.484 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003507/1.08, allocations: 0.6776 MB / 0.8244 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004669/1.085, allocations: 4.05 MB / 0.8284 GB, free: 1.738 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008279/1.093, allocations: 8.632 MB / 0.8368 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/1.11, allocations: 13.52 MB / 0.85 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/1.11, allocations: 52 kB / 0.8501 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03342/1.143, allocations: 16.31 MB / 0.866 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.144, allocations: 72 kB / 0.8661 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.144, allocations: 160 kB / 0.8662 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01306/1.157, allocations: 4.284 MB / 0.8704 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006332/1.163, allocations: 1.899 MB / 0.8722 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3039/1.467, allocations: 20.17 MB / 0.8919 GB, free: 167.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007577/1.475, allocations: 0.503 MB / 0.8924 GB, free: 167.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.476, allocations: 483.7 kB / 0.8929 GB, free: 167.5 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.005619/1.482, allocations: 3.125 MB / 0.8959 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.483, allocations: 0.511 MB / 0.8964 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01875/1.502, allocations: 10.09 MB / 0.9063 GB, free: 163.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.209e-05/1.502, allocations: 33.42 kB / 0.9063 GB, free: 163.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.581e-05/1.502, allocations: 14.53 kB / 0.9063 GB, free: 163.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.298e-05/1.502, allocations: 22.59 kB / 0.9064 GB, free: 163.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04113/1.543, allocations: 20.13 MB / 0.926 GB, free: 156.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/1.543, allocations: 10.5 kB / 0.926 GB, free: 156.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/1.545, allocations: 0.4933 MB / 0.9265 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01125/1.557, allocations: 3.843 MB / 0.9303 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005113/1.557, allocations: 66.98 kB / 0.9303 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0217/1.579, allocations: 17.79 MB / 0.9477 GB, free: 147 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.579, allocations: 8 kB / 0.9477 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0225/1.602, allocations: 14.87 MB / 0.9622 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/1.603, allocations: 0.5807 MB / 0.9628 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009827/1.604, allocations: 61.56 kB / 0.9629 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/1.607, allocations: 231.7 kB / 0.9631 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007097/1.608, allocations: 229.8 kB / 0.9633 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002423/1.608, allocations: 94.19 kB / 0.9634 GB, free: 131.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004536/1.613, allocations: 3.556 MB / 0.9669 GB, free: 127.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/1.613, allocations: 0 / 0.9669 GB, free: 127.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005971/1.618, allocations: 1.798 MB / 0.9686 GB, free: 125.8 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.0006062/1.619, allocations: 268.4 kB / 0.9689 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.631, allocations: 9.759 MB / 0.9784 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.631, allocations: 0 / 0.9784 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004601/1.636, allocations: 3.777 MB / 0.9821 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009089/1.645, allocations: 0.6852 MB / 0.9828 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/1.67, allocations: 19.21 MB / 1.002 GB, free: 92.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004601/1.674, allocations: 4.829 MB / 1.006 GB, free: 87.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006079/1.68, allocations: 2.581 MB / 1.009 GB, free: 84.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.682, allocations: 347.4 kB / 1.009 GB, free: 84.33 MB / 0.5417 GB Notification: Performance of SimCode: time 1.393e-06/1.682, allocations: 0 / 1.009 GB, free: 84.33 MB / 0.5417 GB Notification: Performance of Templates: time 0.107/1.789, allocations: 74.35 MB / 1.082 GB, free: 10.33 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/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