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.002308/0.002308, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.636/1.636, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009043/0.0009042, allocations: 98.83 kB / 270.2 MB, free: 13.36 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.2186/0.2186, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004603, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5632, allocations: 109.4 MB / 0.5856 GB, free: 6.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.5634, allocations: 80.83 kB / 0.5857 GB, free: 6.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5793/1.143, allocations: 126.9 MB / 0.7096 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.134e-06/1.143, allocations: 0 / 0.7096 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004757/1.143, allocations: 113.3 kB / 0.7097 GB, free: 103.6 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.0252/1.168, allocations: 6.785 MB / 0.7164 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.169, allocations: 10.17 kB / 0.7164 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03703/1.206, allocations: 8.312 MB / 0.7245 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/1.227, allocations: 7.408 MB / 0.7317 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006986/1.227, allocations: 453.8 kB / 0.7321 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003882/1.231, allocations: 0.5816 MB / 0.7327 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04008/1.271, allocations: 15.74 MB / 0.7481 GB, free: 98.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007849/1.272, allocations: 73.88 kB / 0.7482 GB, free: 98.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0045/1.277, allocations: 282.9 kB / 0.7484 GB, free: 98.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002714/1.28, allocations: 1.619 MB / 0.75 GB, free: 98.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02899/1.309, allocations: 14.02 MB / 0.7637 GB, free: 98.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08478/1.393, allocations: 64.09 MB / 0.8263 GB, free: 53.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/1.407, allocations: 6.464 MB / 0.8326 GB, free: 48.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02493/1.432, allocations: 14.45 MB / 0.8467 GB, free: 35.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/1.432, allocations: 60.56 kB / 0.8468 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=289): time 8.737e-06/1.432, allocations: 0 / 0.8468 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.1385/1.57, allocations: 42.35 MB / 0.8881 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/1.571, allocations: 221.9 kB / 0.8883 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/1.583, allocations: 4.841 MB / 0.8931 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008753/1.584, allocations: 73.7 kB / 0.8931 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00424/1.588, allocations: 4.439 MB / 0.8975 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002098/1.591, allocations: 1.255 MB / 0.8987 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/1.592, allocations: 172 kB / 0.8989 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009894/1.593, allocations: 0.682 MB / 0.8995 GB, free: 2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2843/1.877, allocations: 4.56 MB / 0.904 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/1.89, allocations: 9.525 MB / 0.9133 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.902, allocations: 6.447 MB / 0.9196 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003032/1.902, allocations: 49.06 kB / 0.9196 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.04236/1.945, allocations: 18.73 MB / 0.9379 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/1.945, allocations: 82.16 kB / 0.938 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002059/1.945, allocations: 173.7 kB / 0.9381 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02034/1.965, allocations: 5.63 MB / 0.9436 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007595/1.973, allocations: 2.063 MB / 0.9457 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02787/2.001, allocations: 24.3 MB / 0.9694 GB, free: 95.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008303/2.009, allocations: 0.545 MB / 0.9699 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/2.012, allocations: 0.5045 MB / 0.9704 GB, free: 95.66 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 () * Number of clocked 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.008353/2.02, allocations: 3.098 MB / 0.9734 GB, free: 94.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/2.022, allocations: 0.5023 MB / 0.9739 GB, free: 94.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03043/2.052, allocations: 12.42 MB / 0.9861 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/2.052, allocations: 62.03 kB / 0.9861 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.041e-05/2.052, allocations: 17.14 kB / 0.9861 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-05/2.052, allocations: 14.53 kB / 0.9861 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05236/2.105, allocations: 24.05 MB / 1.01 GB, free: 76.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.027e-05/2.105, allocations: 4 kB / 1.01 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/2.108, allocations: 0.5725 MB / 1.01 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01732/2.125, allocations: 4.649 MB / 1.015 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001004/2.126, allocations: 63.17 kB / 1.015 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/2.148, allocations: 19.57 MB / 1.034 GB, free: 56.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/2.148, allocations: 11.94 kB / 1.034 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03184/2.18, allocations: 17.5 MB / 1.051 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004208/2.184, allocations: 1.233 MB / 1.052 GB, free: 37.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/2.186, allocations: 57.22 kB / 1.052 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003968/2.19, allocations: 244.2 kB / 1.052 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009528/2.191, allocations: 198.1 kB / 1.053 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005577/2.192, allocations: 87.56 kB / 1.053 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007277/2.199, allocations: 3.374 MB / 1.056 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.132e-06/2.199, allocations: 0 / 1.056 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01041/2.21, allocations: 1.711 MB / 1.058 GB, free: 31.79 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 () * Number of clocked 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.001234/2.211, allocations: 218.1 kB / 1.058 GB, free: 31.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01623/2.227, allocations: 10.51 MB / 1.068 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/2.227, allocations: 0.75 kB / 1.068 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005731/2.233, allocations: 3.981 MB / 1.072 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/2.237, allocations: 0.5742 MB / 1.073 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03278/2.27, allocations: 18.39 MB / 1.091 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2956/2.565, allocations: 4.748 MB / 1.095 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0116/2.577, allocations: 3.002 MB / 1.098 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/2.579, allocations: 354.2 kB / 1.099 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/2.579, allocations: 0 / 1.099 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.1141/2.693, allocations: 73.66 MB / 1.17 GB, free: 102.4 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