Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0022/0.0022, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001098/0.001098, allocations: 86.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.285/0.285, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.349e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5134/0.6287, allocations: 109.3 MB / 0.5796 GB, free: 10.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.629, allocations: 79.42 kB / 0.5796 GB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5641/1.193, allocations: 127 MB / 0.7037 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.445e-06/1.193, allocations: 0 / 0.7037 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004693/1.194, allocations: 111.9 kB / 0.7038 GB, free: 2.922 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.3828/1.576, allocations: 6.327 MB / 0.7099 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.577, allocations: 13.84 kB / 0.71 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06383/1.64, allocations: 8.318 MB / 0.7181 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03443/1.675, allocations: 7.38 MB / 0.7253 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009066/1.676, allocations: 447.6 kB / 0.7257 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004915/1.681, allocations: 0.5872 MB / 0.7263 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07183/1.753, allocations: 15.62 MB / 0.7415 GB, free: 98.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006691/1.753, allocations: 72.44 kB / 0.7416 GB, free: 98.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004696/1.758, allocations: 293.9 kB / 0.7419 GB, free: 98.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005394/1.764, allocations: 1.61 MB / 0.7435 GB, free: 98.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06273/1.826, allocations: 13.81 MB / 0.757 GB, free: 98.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1447/1.971, allocations: 64.1 MB / 0.8195 GB, free: 54.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02254/1.994, allocations: 6.413 MB / 0.8258 GB, free: 50.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00724/2.001, allocations: 3.533 MB / 0.8293 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03493/2.036, allocations: 14.44 MB / 0.8434 GB, free: 34.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/2.036, allocations: 67.66 kB / 0.8434 GB, free: 34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=289): time 6.853e-06/2.036, allocations: 0 / 0.8434 GB, free: 34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.1558/2.192, allocations: 29.78 MB / 0.8725 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/2.192, allocations: 221.9 kB / 0.8727 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/2.204, allocations: 4.797 MB / 0.8774 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000949/2.205, allocations: 73.7 kB / 0.8775 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00383/2.209, allocations: 4.284 MB / 0.8817 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002368/2.211, allocations: 1.257 MB / 0.8829 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/2.213, allocations: 175.8 kB / 0.8831 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008848/2.214, allocations: 0.6976 MB / 0.8837 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01259/2.226, allocations: 4.484 MB / 0.8881 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.382/2.608, allocations: 9.44 MB / 0.8973 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01694/2.625, allocations: 6.427 MB / 0.9036 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002588/2.626, allocations: 48.5 kB / 0.9037 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.07385/2.7, allocations: 18.4 MB / 0.9216 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/2.7, allocations: 81.38 kB / 0.9217 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/2.7, allocations: 172.2 kB / 0.9219 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03931/2.739, allocations: 5.627 MB / 0.9274 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/2.753, allocations: 2.063 MB / 0.9294 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04912/2.802, allocations: 23.64 MB / 0.9525 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01182/2.814, allocations: 0.539 MB / 0.953 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002309/2.816, allocations: 0.4991 MB / 0.9535 GB, free: 96.89 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.003638/2.82, allocations: 0.7626 MB / 0.9542 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/2.822, allocations: 0.4998 MB / 0.9547 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05983/2.882, allocations: 12.35 MB / 0.9668 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001269/2.882, allocations: 62.89 kB / 0.9668 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/2.882, allocations: 7.344 kB / 0.9668 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.237e-05/2.882, allocations: 17.17 kB / 0.9668 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08394/2.966, allocations: 23.97 MB / 0.9902 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.692e-05/2.966, allocations: 7.531 kB / 0.9903 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005876/2.972, allocations: 0.5709 MB / 0.9908 GB, free: 83.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03442/3.006, allocations: 4.648 MB / 0.9954 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008909/3.007, allocations: 60.75 kB / 0.9954 GB, free: 82.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03834/3.046, allocations: 18.92 MB / 1.014 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/3.046, allocations: 5.5 kB / 1.014 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05864/3.104, allocations: 17.39 MB / 1.031 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004849/3.109, allocations: 1.228 MB / 1.032 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002111/3.111, allocations: 52.86 kB / 1.032 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006472/3.118, allocations: 252.7 kB / 1.032 GB, free: 47.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/3.119, allocations: 194.4 kB / 1.033 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005525/3.12, allocations: 89.11 kB / 1.033 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008805/3.129, allocations: 3.322 MB / 1.036 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.52e-07/3.129, allocations: 4 kB / 1.036 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01146/3.14, allocations: 1.708 MB / 1.038 GB, free: 42.49 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.001428/3.142, allocations: 213.4 kB / 1.038 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02395/3.166, allocations: 10.4 MB / 1.048 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/3.166, allocations: 4 kB / 1.048 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009226/3.175, allocations: 3.945 MB / 1.052 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/3.18, allocations: 0.5838 MB / 1.052 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/3.22, allocations: 14.23 MB / 1.066 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01144/3.231, allocations: 4.761 MB / 1.071 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00339/3.235, allocations: 422.8 kB / 1.071 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of SimCode: time 1.703e-06/3.235, allocations: 0 / 1.071 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of Templates: time 0.6518/3.887, allocations: 142.9 MB / 1.211 GB, free: 58.82 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches