Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008273/0.0008273, allocations: 82.61 kB / 267 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.405/0.405, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.943e-05, allocations: 4 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.483/0.6133, allocations: 109.3 MB / 0.5796 GB, free: 12.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.6137, allocations: 77.77 kB / 0.5796 GB, free: 12.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6294/1.243, allocations: 127 MB / 0.7037 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/1.243, allocations: 0 / 0.7037 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003897/1.244, allocations: 110.2 kB / 0.7038 GB, free: 86.71 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02527/1.269, allocations: 6.339 MB / 0.71 GB, free: 84.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.269, allocations: 9.281 kB / 0.71 GB, free: 84.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03191/1.301, allocations: 8.322 MB / 0.7181 GB, free: 84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02185/1.323, allocations: 7.378 MB / 0.7253 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006153/1.323, allocations: 450.9 kB / 0.7257 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004039/1.327, allocations: 0.583 MB / 0.7263 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04205/1.37, allocations: 15.62 MB / 0.7416 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006523/1.37, allocations: 76.36 kB / 0.7416 GB, free: 80.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00443/1.375, allocations: 284.2 kB / 0.7419 GB, free: 80.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003538/1.378, allocations: 1.617 MB / 0.7435 GB, free: 80.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.033/1.411, allocations: 13.81 MB / 0.757 GB, free: 79.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08648/1.498, allocations: 64.08 MB / 0.8196 GB, free: 35.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/1.511, allocations: 6.425 MB / 0.8258 GB, free: 32.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004729/1.516, allocations: 3.536 MB / 0.8293 GB, free: 30.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02479/1.541, allocations: 14.44 MB / 0.8434 GB, free: 23.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/1.541, allocations: 64.44 kB / 0.8434 GB, free: 23.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=289): time 1.047e-05/1.541, allocations: 0 / 0.8434 GB, free: 23.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.08989/1.631, allocations: 29.79 MB / 0.8725 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/1.631, allocations: 213.9 kB / 0.8727 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009254/1.64, allocations: 4.801 MB / 0.8774 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000877/1.641, allocations: 73.7 kB / 0.8775 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003974/1.645, allocations: 4.431 MB / 0.8818 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002275/1.648, allocations: 1.254 MB / 0.883 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/1.649, allocations: 175.8 kB / 0.8832 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005995/1.649, allocations: 0.682 MB / 0.8839 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007226/1.656, allocations: 4.488 MB / 0.8883 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3513/2.008, allocations: 9.873 MB / 0.8979 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/2.02, allocations: 6.422 MB / 0.9042 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000358/2.021, allocations: 48.84 kB / 0.9042 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.04503/2.066, allocations: 18.57 MB / 0.9224 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/2.066, allocations: 81.03 kB / 0.9224 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003089/2.066, allocations: 173.1 kB / 0.9226 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02189/2.088, allocations: 5.637 MB / 0.9281 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008384/2.097, allocations: 2.064 MB / 0.9301 GB, free: 89.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03161/2.128, allocations: 23.63 MB / 0.9532 GB, free: 82.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008896/2.137, allocations: 0.5437 MB / 0.9537 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00232/2.14, allocations: 0.5 MB / 0.9542 GB, free: 82.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 1053 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002698/2.142, allocations: 0.76 MB / 0.955 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/2.144, allocations: 0.4935 MB / 0.9554 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0281/2.172, allocations: 12.35 MB / 0.9675 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.335e-05/2.172, allocations: 60.05 kB / 0.9676 GB, free: 78.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/2.172, allocations: 11.05 kB / 0.9676 GB, free: 78.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001081/2.172, allocations: 17.09 kB / 0.9676 GB, free: 78.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0506/2.223, allocations: 23.97 MB / 0.991 GB, free: 68.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.245e-05/2.223, allocations: 5.5 kB / 0.991 GB, free: 68.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/2.226, allocations: 0.5722 MB / 0.9916 GB, free: 68.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01691/2.243, allocations: 4.647 MB / 0.9961 GB, free: 68.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007559/2.244, allocations: 58.69 kB / 0.9961 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/2.265, allocations: 18.92 MB / 1.015 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/2.265, allocations: 11.5 kB / 1.015 GB, free: 59.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03288/2.298, allocations: 17.38 MB / 1.032 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003861/2.302, allocations: 1.223 MB / 1.033 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/2.303, allocations: 58.48 kB / 1.033 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003741/2.307, allocations: 245.3 kB / 1.033 GB, free: 44.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000823/2.308, allocations: 205.2 kB / 1.033 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/2.308, allocations: 83.91 kB / 1.033 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006334/2.315, allocations: 3.325 MB / 1.037 GB, free: 41.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.062e-06/2.315, allocations: 0 / 1.037 GB, free: 41.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009741/2.324, allocations: 1.71 MB / 1.038 GB, free: 39.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/2.326, allocations: 216.7 kB / 1.038 GB, free: 39.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01557/2.341, allocations: 10.39 MB / 1.049 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/2.341, allocations: 4 kB / 1.049 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005874/2.347, allocations: 3.943 MB / 1.052 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/2.351, allocations: 0.574 MB / 1.053 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03017/2.382, allocations: 13.53 MB / 1.066 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007956/2.39, allocations: 4.752 MB / 1.071 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008758/2.398, allocations: 3 MB / 1.074 GB, free: 5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/2.4, allocations: 355.4 kB / 1.074 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/2.4, allocations: 0 / 1.074 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of Templates: time 0.4238/2.824, allocations: 73.64 MB / 1.146 GB, free: 92.76 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches