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.001204/0.001204, allocations: 112.7 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 206.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 79.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3352, allocations: 62.42 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01742/0.3526, allocations: 15.97 MB / 0.5472 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.3645, allocations: 5.457 MB / 0.5526 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.3676, allocations: 111.6 kB / 0.5527 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009144/0.3768, allocations: 5.113 MB / 0.5577 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006897/0.3837, allocations: 2.594 MB / 0.5602 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.3868, allocations: 1.377 MB / 0.5616 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.3975, allocations: 8.243 MB / 0.5696 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008847/0.4063, allocations: 7.03 MB / 0.5765 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.4112, allocations: 2.769 MB / 0.5792 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005753/0.417, allocations: 3.751 MB / 0.5828 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002036/0.4191, allocations: 0.6328 MB / 0.5835 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.4232, allocations: 1.775 MB / 0.5852 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004239/0.4275, allocations: 3.359 MB / 0.5885 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006234/0.4337, allocations: 3.691 MB / 0.5921 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01656/0.4503, allocations: 11.92 MB / 0.6037 GB, free: 7.652 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4504, allocations: 7.984 kB / 0.6037 GB, free: 7.645 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4504, allocations: 0 / 0.6037 GB, free: 7.645 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004437/0.4508, allocations: 0 / 0.6037 GB, free: 7.645 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.02314/0.474, allocations: 7.873 MB / 0.6114 GB, free: 15.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.474, allocations: 8.031 kB / 0.6114 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/0.4894, allocations: 3.053 MB / 0.6144 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.5014, allocations: 5.045 MB / 0.6193 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.5018, allocations: 382.1 kB / 0.6197 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/0.5039, allocations: 0.5191 MB / 0.6202 GB, free: 6.598 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03219/0.5361, allocations: 15.52 MB / 0.6354 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002113/0.5363, allocations: 71.42 kB / 0.6354 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008109/0.5372, allocations: 235.8 kB / 0.6356 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00378/0.541, allocations: 2.54 MB / 0.6381 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02659/0.5676, allocations: 13.12 MB / 0.6509 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07471/0.6423, allocations: 57.3 MB / 0.7069 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/0.6597, allocations: 6.391 MB / 0.7131 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0047/0.6645, allocations: 3.45 MB / 0.7165 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2743/0.9388, allocations: 11.63 MB / 0.7279 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.9389, allocations: 60.16 kB / 0.7279 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 7.063e-06/0.9389, allocations: 0 / 0.7279 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1286/1.068, allocations: 39.13 MB / 0.7661 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/1.068, allocations: 255.8 kB / 0.7664 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008637/1.076, allocations: 5.694 MB / 0.7719 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008061/1.077, allocations: 77.7 kB / 0.772 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002297/1.079, allocations: 4.339 MB / 0.7762 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/1.081, allocations: 1.261 MB / 0.7775 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003689/1.084, allocations: 1.757 MB / 0.7792 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.774e-05/1.085, allocations: 309.1 kB / 0.7795 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005248/1.09, allocations: 4.093 MB / 0.7835 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006821/1.097, allocations: 8.671 MB / 0.792 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.11, allocations: 13.57 MB / 0.8052 GB, free: 85.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/1.11, allocations: 44 kB / 0.8053 GB, free: 85.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03035/1.14, allocations: 16.39 MB / 0.8213 GB, free: 69.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.14, allocations: 72 kB / 0.8213 GB, free: 69.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/1.141, allocations: 160.9 kB / 0.8215 GB, free: 68.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01295/1.154, allocations: 4.281 MB / 0.8257 GB, free: 64.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006195/1.16, allocations: 1.907 MB / 0.8275 GB, free: 62.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02793/1.188, allocations: 21.54 MB / 0.8486 GB, free: 41.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00672/1.194, allocations: 0.5032 MB / 0.849 GB, free: 40.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/1.196, allocations: 488 kB / 0.8495 GB, free: 40.11 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.005297/1.201, allocations: 3.114 MB / 0.8525 GB, free: 36.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.202, allocations: 0.5168 MB / 0.8531 GB, free: 36.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02083/1.223, allocations: 10.11 MB / 0.8629 GB, free: 26.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.432e-05/1.223, allocations: 23.81 kB / 0.8629 GB, free: 26.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.223, allocations: 0 / 0.8629 GB, free: 26.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/1.225, allocations: 0.5646 MB / 0.8635 GB, free: 25.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/1.227, allocations: 59.67 kB / 0.8636 GB, free: 25.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003594/1.231, allocations: 227.7 kB / 0.8638 GB, free: 25.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000819/1.232, allocations: 257.9 kB / 0.864 GB, free: 25.14 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01802/1.25, allocations: 9.782 MB / 0.8736 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01327/1.263, allocations: 11.38 MB / 0.8847 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0035/1.267, allocations: 3.231 MB / 0.8878 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006728/1.273, allocations: 3.596 MB / 0.8913 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of Backend: time 5.61e-07/1.273, allocations: 3.844 kB / 0.8913 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01612/1.29, allocations: 7.355 MB / 0.8985 GB, free: 5.812 MB / 0.5763 GB Notification: Performance of SimCode: time 0.0288/1.318, allocations: 14.24 MB / 0.9124 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of Templates: time 0.3909/1.709, allocations: 89.21 MB / 0.9996 GB, free: 177.5 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/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_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches