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.00124/0.00124, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 72.45 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01634/0.1521, allocations: 15.97 MB / 497.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.1639, allocations: 5.46 MB / 0.4911 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.167, allocations: 111.7 kB / 0.4912 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009272/0.1764, allocations: 5.113 MB / 0.4962 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008166/0.1846, allocations: 2.583 MB / 0.4987 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.1882, allocations: 1.4 MB / 0.5001 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2294/0.4176, allocations: 8.225 MB / 0.5081 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.4278, allocations: 7.026 MB / 0.515 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005457/0.4333, allocations: 2.768 MB / 0.5177 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006722/0.44, allocations: 3.742 MB / 0.5213 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002626/0.4427, allocations: 0.6333 MB / 0.522 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005292/0.448, allocations: 1.766 MB / 0.5237 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005001/0.453, allocations: 3.315 MB / 0.5269 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006166/0.4592, allocations: 3.689 MB / 0.5305 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.4698, allocations: 11.92 MB / 0.5422 GB, free: 2.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4698, allocations: 1.781 kB / 0.5422 GB, free: 2.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4698, allocations: 0 / 0.5422 GB, free: 2.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003607/0.4702, allocations: 0 / 0.5422 GB, free: 2.504 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.02053/0.4907, allocations: 7.882 MB / 0.5499 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4908, allocations: 12.03 kB / 0.5499 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.5044, allocations: 3.053 MB / 0.5529 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.5156, allocations: 5.032 MB / 0.5578 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.5159, allocations: 388 kB / 0.5581 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.5175, allocations: 0.5153 MB / 0.5586 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02608/0.5436, allocations: 15.52 MB / 0.5738 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001885/0.5438, allocations: 62.81 kB / 0.5739 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007105/0.5445, allocations: 236.6 kB / 0.5741 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004076/0.5486, allocations: 2.551 MB / 0.5766 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.5749, allocations: 13.11 MB / 0.5894 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07686/0.6518, allocations: 57.3 MB / 0.6453 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01627/0.6681, allocations: 6.379 MB / 0.6516 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004421/0.6725, allocations: 3.454 MB / 0.6549 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01914/0.6917, allocations: 11.64 MB / 0.6663 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.6918, allocations: 62.53 kB / 0.6664 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 5.721e-06/0.6918, allocations: 0 / 0.6664 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=343): time 0.1257/0.8175, allocations: 39.1 MB / 0.7046 GB, free: 12.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.8177, allocations: 246.6 kB / 0.7048 GB, free: 12.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009188/0.8269, allocations: 5.702 MB / 0.7104 GB, free: 6.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/0.8279, allocations: 77.7 kB / 0.7104 GB, free: 6.254 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003528/0.8315, allocations: 4.339 MB / 0.7147 GB, free: 1.918 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002108/0.8336, allocations: 1.265 MB / 0.7159 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.272/1.106, allocations: 1.749 MB / 0.7176 GB, free: 187.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/1.106, allocations: 301.7 kB / 0.7179 GB, free: 187.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00701/1.113, allocations: 4.089 MB / 0.7219 GB, free: 186.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009505/1.122, allocations: 8.68 MB / 0.7304 GB, free: 179.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01923/1.142, allocations: 13.56 MB / 0.7436 GB, free: 168.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003166/1.142, allocations: 49.22 kB / 0.7437 GB, free: 168.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.0336/1.176, allocations: 16.39 MB / 0.7597 GB, free: 163.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.176, allocations: 70.53 kB / 0.7597 GB, free: 163.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/1.176, allocations: 161.1 kB / 0.7599 GB, free: 163.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/1.189, allocations: 4.28 MB / 0.7641 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00611/1.195, allocations: 1.904 MB / 0.7659 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02543/1.22, allocations: 21.54 MB / 0.787 GB, free: 143 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007541/1.228, allocations: 0.5033 MB / 0.7875 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.229, allocations: 491.9 kB / 0.7879 GB, free: 142.1 MB / 0.545 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.005409/1.235, allocations: 3.124 MB / 0.791 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.236, allocations: 0.5163 MB / 0.7915 GB, free: 138.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/1.253, allocations: 10.1 MB / 0.8014 GB, free: 128.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-05/1.253, allocations: 36 kB / 0.8014 GB, free: 128.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.748e-05/1.253, allocations: 16 kB / 0.8014 GB, free: 128.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.294e-05/1.253, allocations: 15.94 kB / 0.8014 GB, free: 128.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03261/1.286, allocations: 20.06 MB / 0.821 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-05/1.286, allocations: 14.69 kB / 0.821 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.288, allocations: 0.4953 MB / 0.8215 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/1.299, allocations: 3.837 MB / 0.8253 GB, free: 104.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005257/1.3, allocations: 62.03 kB / 0.8253 GB, free: 104.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/1.322, allocations: 19.09 MB / 0.844 GB, free: 84.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/1.322, allocations: 13.25 kB / 0.844 GB, free: 84.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02266/1.345, allocations: 14.91 MB / 0.8585 GB, free: 69.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.346, allocations: 0.58 MB / 0.8591 GB, free: 69.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009557/1.347, allocations: 60 kB / 0.8592 GB, free: 69.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.35, allocations: 233 kB / 0.8594 GB, free: 68.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000708/1.351, allocations: 234.2 kB / 0.8596 GB, free: 68.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.351, allocations: 88 kB / 0.8597 GB, free: 68.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004394/1.355, allocations: 3.604 MB / 0.8632 GB, free: 65.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/1.355, allocations: 0 / 0.8632 GB, free: 65.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007123/1.362, allocations: 1.765 MB / 0.8649 GB, free: 63.31 MB / 0.545 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.0006992/1.363, allocations: 251.4 kB / 0.8652 GB, free: 63.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01311/1.376, allocations: 9.845 MB / 0.8748 GB, free: 53.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.376, allocations: 0.875 kB / 0.8748 GB, free: 53.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005433/1.382, allocations: 3.796 MB / 0.8785 GB, free: 49.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005088/1.387, allocations: 0.7365 MB / 0.8792 GB, free: 48.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/1.411, allocations: 15.87 MB / 0.8947 GB, free: 32.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004969/1.416, allocations: 4.821 MB / 0.8994 GB, free: 27.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00518/1.421, allocations: 2.577 MB / 0.9019 GB, free: 25.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.422, allocations: 343.4 kB / 0.9023 GB, free: 24.93 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/1.422, allocations: 3.938 kB / 0.9023 GB, free: 24.93 MB / 0.545 GB Notification: Performance of Templates: time 0.3213/1.743, allocations: 71.74 MB / 0.9723 GB, free: 146.2 MB / 0.545 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 -s cvode -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