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.001704/0.001704, allocations: 107.1 kB / 18.46 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002046/0.002046, allocations: 211.9 kB / 19.42 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.501/2.501, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3555/0.3555, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 75.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.348, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01658/0.3647, allocations: 15.98 MB / 0.5473 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3766, allocations: 5.452 MB / 0.5526 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/0.3801, allocations: 119.6 kB / 0.5527 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009765/0.3899, allocations: 5.113 MB / 0.5577 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009093/0.399, allocations: 2.664 MB / 0.5603 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00523/0.4043, allocations: 1.381 MB / 0.5616 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01414/0.4185, allocations: 8.243 MB / 0.5697 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.4301, allocations: 7.033 MB / 0.5766 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006057/0.4362, allocations: 2.769 MB / 0.5793 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006358/0.4426, allocations: 3.751 MB / 0.5829 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00267/0.4453, allocations: 0.6328 MB / 0.5835 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0052/0.4506, allocations: 1.775 MB / 0.5853 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004918/0.4555, allocations: 3.355 MB / 0.5885 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00664/0.4622, allocations: 3.687 MB / 0.5921 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02051/0.4827, allocations: 11.97 MB / 0.6038 GB, free: 7.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4828, allocations: 4 kB / 0.6038 GB, free: 7.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4828, allocations: 0 / 0.6038 GB, free: 7.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004128/0.4832, allocations: 4 kB / 0.6038 GB, free: 7.516 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.02203/0.5052, allocations: 8.073 MB / 0.6117 GB, free: 15.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5053, allocations: 8.031 kB / 0.6117 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/0.5205, allocations: 3.101 MB / 0.6148 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.5323, allocations: 5.074 MB / 0.6197 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/0.5328, allocations: 378.2 kB / 0.6201 GB, free: 6.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/0.535, allocations: 0.5114 MB / 0.6206 GB, free: 6.195 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/0.5663, allocations: 15.52 MB / 0.6357 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004002/0.5668, allocations: 67.52 kB / 0.6358 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001852/0.5686, allocations: 235.8 kB / 0.636 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003981/0.5726, allocations: 2.54 MB / 0.6385 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02804/0.6007, allocations: 13.12 MB / 0.6513 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08743/0.6882, allocations: 57.41 MB / 0.7074 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/0.7065, allocations: 6.383 MB / 0.7136 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005132/0.7117, allocations: 3.443 MB / 0.717 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3939/1.106, allocations: 11.67 MB / 0.7284 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/1.106, allocations: 58.84 kB / 0.7284 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 6.402e-06/1.106, allocations: 3.844 kB / 0.7284 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1404/1.246, allocations: 39.46 MB / 0.767 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/1.246, allocations: 247.8 kB / 0.7672 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/1.257, allocations: 5.707 MB / 0.7728 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008566/1.258, allocations: 77.7 kB / 0.7729 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003632/1.262, allocations: 4.51 MB / 0.7773 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002288/1.264, allocations: 1.32 MB / 0.7786 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005734/1.27, allocations: 1.766 MB / 0.7803 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/1.27, allocations: 305.1 kB / 0.7806 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007013/1.277, allocations: 4.093 MB / 0.7846 GB, free: 112 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/1.288, allocations: 8.678 MB / 0.793 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/1.305, allocations: 13.56 MB / 0.8063 GB, free: 85.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001914/1.305, allocations: 48 kB / 0.8063 GB, free: 85.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03705/1.342, allocations: 16.42 MB / 0.8224 GB, free: 68.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/1.342, allocations: 72 kB / 0.8224 GB, free: 68.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/1.343, allocations: 156.9 kB / 0.8226 GB, free: 68.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/1.356, allocations: 4.283 MB / 0.8268 GB, free: 64.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006937/1.363, allocations: 1.903 MB / 0.8286 GB, free: 62.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02839/1.391, allocations: 21.55 MB / 0.8497 GB, free: 40.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006807/1.398, allocations: 0.5111 MB / 0.8502 GB, free: 40.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/1.4, allocations: 483.6 kB / 0.8506 GB, free: 39.7 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.005673/1.405, allocations: 3.129 MB / 0.8537 GB, free: 36.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/1.407, allocations: 0.5394 MB / 0.8542 GB, free: 36.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02229/1.429, allocations: 10.1 MB / 0.8641 GB, free: 25.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-05/1.429, allocations: 27.81 kB / 0.8641 GB, free: 25.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.429, allocations: 0 / 0.8641 GB, free: 25.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/1.431, allocations: 0.591 MB / 0.8647 GB, free: 25.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002269/1.433, allocations: 56 kB / 0.8647 GB, free: 25.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004115/1.438, allocations: 231.7 kB / 0.865 GB, free: 24.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/1.439, allocations: 253.9 kB / 0.8652 GB, free: 24.68 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02024/1.459, allocations: 9.784 MB / 0.8748 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01298/1.472, allocations: 11.4 MB / 0.8859 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004054/1.476, allocations: 3.223 MB / 0.889 GB, free: 212 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007848/1.484, allocations: 3.596 MB / 0.8926 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of Backend: time 6.51e-07/1.484, allocations: 4 kB / 0.8926 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01841/1.503, allocations: 7.374 MB / 0.8998 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of SimCode: time 0.03056/1.533, allocations: 14.48 MB / 0.9139 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.4664/2, allocations: 88.22 MB / 1 GB, free: 177.1 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