Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 242.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.2 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01629/0.1281, allocations: 16 MB / 485.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.1401, allocations: 5.456 MB / 491.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003748/0.1439, allocations: 115.6 kB / 491.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009121/0.1531, allocations: 5.129 MB / 496.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007021/0.1602, allocations: 2.63 MB / 499.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.1634, allocations: 1.392 MB / 0.4889 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01046/0.1739, allocations: 8.087 MB / 0.4968 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008237/0.1822, allocations: 7.059 MB / 0.5037 GB, free: 304 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2207/0.4029, allocations: 2.753 MB / 0.5064 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006865/0.4098, allocations: 3.747 MB / 0.51 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002966/0.4128, allocations: 0.6339 MB / 0.5107 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00565/0.4185, allocations: 1.783 MB / 0.5124 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006451/0.425, allocations: 3.332 MB / 0.5157 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008291/0.4333, allocations: 3.71 MB / 0.5193 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.4478, allocations: 11.69 MB / 0.5307 GB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4478, allocations: 4.656 kB / 0.5307 GB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4478, allocations: 0 / 0.5307 GB, free: 12.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00042/0.4482, allocations: 2.25 kB / 0.5307 GB, free: 12.08 MB / 382.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.01995/0.4682, allocations: 7.911 MB / 0.5384 GB, free: 6.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4683, allocations: 9.438 kB / 0.5384 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/0.483, allocations: 3.049 MB / 0.5414 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.4941, allocations: 5.016 MB / 0.5463 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.4945, allocations: 382.1 kB / 0.5467 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/0.4971, allocations: 0.5136 MB / 0.5472 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03447/0.5316, allocations: 15.51 MB / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002428/0.5319, allocations: 66.25 kB / 0.5624 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.5329, allocations: 236.9 kB / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004105/0.537, allocations: 2.542 MB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0287/0.5658, allocations: 13.1 MB / 0.5779 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08105/0.6469, allocations: 57.59 MB / 0.6341 GB, free: 8.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.666, allocations: 6.378 MB / 0.6404 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00526/0.6713, allocations: 3.446 MB / 0.6437 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02184/0.6932, allocations: 11.57 MB / 0.655 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.6933, allocations: 59.94 kB / 0.6551 GB, free: 2.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 5.44e-06/0.6933, allocations: 0 / 0.6551 GB, free: 2.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1402/0.8335, allocations: 39.53 MB / 0.6937 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/0.8337, allocations: 243.9 kB / 0.6939 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009277/0.843, allocations: 5.707 MB / 0.6995 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009664/0.844, allocations: 77.7 kB / 0.6996 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003388/0.8474, allocations: 4.351 MB / 0.7038 GB, free: 204 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.23/1.077, allocations: 1.253 MB / 0.705 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003912/1.081, allocations: 1.752 MB / 0.7067 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/1.081, allocations: 301.7 kB / 0.707 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007045/1.089, allocations: 4.085 MB / 0.711 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/1.099, allocations: 8.674 MB / 0.7195 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/1.115, allocations: 13.57 MB / 0.7327 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003647/1.116, allocations: 46.03 kB / 0.7328 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.0353/1.151, allocations: 16.38 MB / 0.7488 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/1.151, allocations: 69.88 kB / 0.7489 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001987/1.151, allocations: 158.6 kB / 0.749 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01338/1.165, allocations: 4.289 MB / 0.7532 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/1.171, allocations: 1.908 MB / 0.7551 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02665/1.198, allocations: 21.55 MB / 0.7761 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00769/1.206, allocations: 0.5036 MB / 0.7766 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/1.207, allocations: 488 kB / 0.7771 GB, free: 133 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.005713/1.213, allocations: 3.12 MB / 0.7801 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.214, allocations: 0.5207 MB / 0.7806 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/1.233, allocations: 10.1 MB / 0.7905 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.636e-05/1.233, allocations: 36 kB / 0.7905 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.611e-05/1.233, allocations: 16 kB / 0.7905 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.087e-05/1.233, allocations: 19.88 kB / 0.7905 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04/1.273, allocations: 20.15 MB / 0.8102 GB, free: 98.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.108e-05/1.273, allocations: 11.25 kB / 0.8102 GB, free: 98.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.276, allocations: 0.4914 MB / 0.8107 GB, free: 98.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01222/1.288, allocations: 3.859 MB / 0.8145 GB, free: 94.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009589/1.289, allocations: 61.31 kB / 0.8145 GB, free: 94.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0238/1.313, allocations: 19.11 MB / 0.8332 GB, free: 75.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/1.313, allocations: 11.94 kB / 0.8332 GB, free: 75.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/1.338, allocations: 14.9 MB / 0.8478 GB, free: 60.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.34, allocations: 0.58 MB / 0.8483 GB, free: 59.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/1.342, allocations: 60 kB / 0.8484 GB, free: 59.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003598/1.345, allocations: 231.7 kB / 0.8486 GB, free: 59.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009221/1.346, allocations: 226.2 kB / 0.8488 GB, free: 58.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.347, allocations: 98.64 kB / 0.8489 GB, free: 58.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005428/1.352, allocations: 3.608 MB / 0.8524 GB, free: 55.26 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/1.352, allocations: 0 / 0.8524 GB, free: 55.26 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009458/1.362, allocations: 1.79 MB / 0.8542 GB, free: 53.48 MB / 0.5294 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.001145/1.363, allocations: 259.6 kB / 0.8544 GB, free: 53.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02079/1.384, allocations: 13.28 MB / 0.8674 GB, free: 39.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/1.384, allocations: 0 / 0.8674 GB, free: 39.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005026/1.389, allocations: 3.784 MB / 0.8711 GB, free: 36.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005026/1.394, allocations: 0.7325 MB / 0.8718 GB, free: 35.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02719/1.421, allocations: 16.67 MB / 0.8881 GB, free: 18.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00657/1.428, allocations: 4.79 MB / 0.8928 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/1.43, allocations: 407.4 kB / 0.8932 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of SimCode: time 1.513e-06/1.43, allocations: 0 / 0.8932 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.4263/1.856, allocations: 122.7 MB / 1.013 GB, free: 76.64 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches