Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 183.9 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.3/1.3, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008489/0.0008489, allocations: 84.83 kB / 267 MB, free: 9.27 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.3465/0.3465, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.627e-05, allocations: 11.98 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 58.83 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4585/0.5901, allocations: 107.2 MB / 0.5775 GB, free: 14.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.5904, allocations: 80.84 kB / 0.5776 GB, free: 14.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2682/0.8586, allocations: 103.9 MB / 0.679 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.816e-06/0.8587, allocations: 3.938 kB / 0.679 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004507/0.8592, allocations: 100 kB / 0.6791 GB, free: 15.44 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02133/0.8805, allocations: 5.21 MB / 0.6842 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.76e-05/0.8806, allocations: 12.03 kB / 0.6842 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02805/0.9086, allocations: 6.894 MB / 0.6909 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.355/1.264, allocations: 7.494 MB / 0.6983 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/1.264, allocations: 376.8 kB / 0.6986 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/1.267, allocations: 0.4893 MB / 0.6991 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02852/1.296, allocations: 12.26 MB / 0.7111 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003343/1.296, allocations: 75.27 kB / 0.7111 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/1.298, allocations: 240.6 kB / 0.7114 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001607/1.299, allocations: 1.136 MB / 0.7125 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/1.32, allocations: 10.13 MB / 0.7224 GB, free: 86.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06518/1.386, allocations: 55.71 MB / 0.7768 GB, free: 50.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.4, allocations: 5.682 MB / 0.7823 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00346/1.404, allocations: 2.811 MB / 0.7851 GB, free: 46.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/1.42, allocations: 8.818 MB / 0.7937 GB, free: 42.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/1.42, allocations: 55.12 kB / 0.7937 GB, free: 42.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=206): time 7.905e-06/1.42, allocations: 0 / 0.7937 GB, free: 42.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.09436/1.514, allocations: 29.42 MB / 0.8225 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.514, allocations: 213.4 kB / 0.8227 GB, free: 34.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007726/1.522, allocations: 4.194 MB / 0.8268 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008566/1.523, allocations: 61.36 kB / 0.8268 GB, free: 33.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002618/1.526, allocations: 3.6 MB / 0.8303 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.527, allocations: 0.978 MB / 0.8313 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/1.527, allocations: 135.2 kB / 0.8314 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003072/1.528, allocations: 0.5839 MB / 0.832 GB, free: 29.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/1.532, allocations: 2.949 MB / 0.8349 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006292/1.538, allocations: 6.759 MB / 0.8415 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006135/1.544, allocations: 4.419 MB / 0.8458 GB, free: 17.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.665e-05/1.544, allocations: 36 kB / 0.8458 GB, free: 17.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02585/1.57, allocations: 12.97 MB / 0.8585 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.791e-05/1.571, allocations: 64 kB / 0.8585 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/1.571, allocations: 132 kB / 0.8587 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/1.582, allocations: 4.083 MB / 0.8627 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005624/1.588, allocations: 1.418 MB / 0.864 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4225/2.01, allocations: 25.91 MB / 0.8894 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006843/2.017, allocations: 397.9 kB / 0.8897 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00177/2.019, allocations: 398.5 kB / 0.8901 GB, free: 91.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (763): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.002806/2.022, allocations: 0.6032 MB / 0.8907 GB, free: 91.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/2.023, allocations: 447.2 kB / 0.8911 GB, free: 91.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/2.04, allocations: 8.069 MB / 0.899 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-05/2.04, allocations: 30.78 kB / 0.899 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.353e-05/2.04, allocations: 12.97 kB / 0.899 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-05/2.04, allocations: 15.95 kB / 0.8991 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03302/2.073, allocations: 16.67 MB / 0.9153 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-05/2.073, allocations: 6.5 kB / 0.9153 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/2.075, allocations: 299 kB / 0.9156 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01022/2.085, allocations: 3.768 MB / 0.9193 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007783/2.086, allocations: 51.27 kB / 0.9194 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03554/2.121, allocations: 24.55 MB / 0.9433 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/2.121, allocations: 5.812 kB / 0.9433 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/2.143, allocations: 12.56 MB / 0.9556 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003138/2.147, allocations: 0.9516 MB / 0.9565 GB, free: 74.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/2.148, allocations: 53.11 kB / 0.9566 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/2.152, allocations: 168.3 kB / 0.9567 GB, free: 74.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/2.153, allocations: 193.4 kB / 0.9569 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004247/2.153, allocations: 73.25 kB / 0.957 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005818/2.159, allocations: 2.958 MB / 0.9599 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.21e-07/2.159, allocations: 0 / 0.9599 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01021/2.169, allocations: 1.423 MB / 0.9613 GB, free: 73.69 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 (161): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001491/2.171, allocations: 196 kB / 0.9615 GB, free: 73.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01484/2.186, allocations: 8.035 MB / 0.9693 GB, free: 70.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/2.186, allocations: 0 / 0.9693 GB, free: 70.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00656/2.192, allocations: 3.415 MB / 0.9726 GB, free: 69.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005488/2.198, allocations: 0.558 MB / 0.9732 GB, free: 68.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/2.221, allocations: 10.38 MB / 0.9833 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007394/2.229, allocations: 4.041 MB / 0.9873 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006814/2.236, allocations: 2.034 MB / 0.9893 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/2.237, allocations: 287.8 kB / 0.9895 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.874e-06/2.237, allocations: 0 / 0.9895 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.1079/2.345, allocations: 66.16 MB / 1.054 GB, free: 16.7 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches