Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002257/0.002256, allocations: 180.2 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.079/2.079, 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.00108/0.001079, allocations: 78.77 kB / 267.5 MB, free: 14.04 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.3226/0.3226, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.457e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5561/0.6738, allocations: 107.2 MB / 0.5775 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/0.6743, allocations: 77.81 kB / 0.5776 GB, free: 12.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4453/1.12, allocations: 103.9 MB / 0.679 GB, free: 12.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.12, allocations: 0 / 0.679 GB, free: 12.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004336/1.12, allocations: 108 kB / 0.6791 GB, free: 12.51 MB / 490.7 MB 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.0225/1.143, allocations: 5.21 MB / 0.6842 GB, free: 7.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.143, allocations: 8.031 kB / 0.6842 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05146/1.194, allocations: 6.884 MB / 0.6909 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02941/1.224, allocations: 7.504 MB / 0.6982 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005714/1.224, allocations: 370.2 kB / 0.6986 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002877/1.227, allocations: 0.4919 MB / 0.6991 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3886/1.616, allocations: 12.26 MB / 0.711 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004544/1.616, allocations: 76.98 kB / 0.7111 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002495/1.619, allocations: 236.8 kB / 0.7113 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003001/1.622, allocations: 1.144 MB / 0.7125 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03492/1.657, allocations: 10.13 MB / 0.7223 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08549/1.742, allocations: 55.71 MB / 0.7767 GB, free: 73.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02405/1.767, allocations: 5.668 MB / 0.7823 GB, free: 71.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005491/1.772, allocations: 2.825 MB / 0.785 GB, free: 70.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02156/1.794, allocations: 8.805 MB / 0.7936 GB, free: 65.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/1.794, allocations: 58.36 kB / 0.7937 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=206): time 6.211e-06/1.794, allocations: 2.688 kB / 0.7937 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.1728/1.967, allocations: 29.43 MB / 0.8224 GB, free: 58.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.682e-05/1.967, allocations: 204.1 kB / 0.8226 GB, free: 58.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.977, allocations: 4.193 MB / 0.8267 GB, free: 55.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007364/1.978, allocations: 69.7 kB / 0.8268 GB, free: 55.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003308/1.981, allocations: 3.442 MB / 0.8302 GB, free: 52.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.983, allocations: 0.9855 MB / 0.8311 GB, free: 51.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.984, allocations: 132 kB / 0.8312 GB, free: 51.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005989/1.985, allocations: 0.5951 MB / 0.8318 GB, free: 50.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007319/1.992, allocations: 2.95 MB / 0.8347 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00972/2.002, allocations: 6.756 MB / 0.8413 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/2.013, allocations: 4.427 MB / 0.8456 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/2.013, allocations: 40 kB / 0.8457 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.06499/2.078, allocations: 12.78 MB / 0.8581 GB, free: 25.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/2.078, allocations: 64 kB / 0.8582 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002491/2.079, allocations: 132 kB / 0.8583 GB, free: 24.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03139/2.11, allocations: 4.076 MB / 0.8623 GB, free: 22.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/2.124, allocations: 1.416 MB / 0.8637 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09088/2.215, allocations: 25.82 MB / 0.8889 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01151/2.226, allocations: 399.4 kB / 0.8893 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/2.228, allocations: 399.9 kB / 0.8897 GB, free: 10.05 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.001903/2.23, allocations: 0.6066 MB / 0.8903 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/2.231, allocations: 454.1 kB / 0.8907 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03137/2.263, allocations: 8.056 MB / 0.8986 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.662e-05/2.263, allocations: 28 kB / 0.8986 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.024e-05/2.263, allocations: 16 kB / 0.8986 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-05/2.263, allocations: 15.95 kB / 0.8986 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4102/2.673, allocations: 16.66 MB / 0.9149 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.341e-05/2.673, allocations: 4.844 kB / 0.9149 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003036/2.676, allocations: 300.5 kB / 0.9152 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02026/2.697, allocations: 3.762 MB / 0.9189 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007833/2.698, allocations: 51.19 kB / 0.9189 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05388/2.751, allocations: 24.55 MB / 0.9429 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/2.751, allocations: 12.56 kB / 0.9429 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03597/2.787, allocations: 12.56 MB / 0.9552 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003916/2.791, allocations: 0.948 MB / 0.9561 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/2.793, allocations: 48.72 kB / 0.9561 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004927/2.798, allocations: 167.8 kB / 0.9563 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001355/2.799, allocations: 196.9 kB / 0.9565 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000333/2.8, allocations: 69.28 kB / 0.9565 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008126/2.808, allocations: 2.961 MB / 0.9594 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.042e-06/2.808, allocations: 0 / 0.9594 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009385/2.817, allocations: 1.425 MB / 0.9608 GB, free: 100.7 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.001141/2.819, allocations: 198 kB / 0.961 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02053/2.839, allocations: 8.03 MB / 0.9689 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/2.839, allocations: 0 / 0.9689 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00977/2.849, allocations: 3.418 MB / 0.9722 GB, free: 96.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005231/2.854, allocations: 0.5428 MB / 0.9727 GB, free: 95.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/2.885, allocations: 10.97 MB / 0.9834 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009162/2.894, allocations: 4.043 MB / 0.9874 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/2.896, allocations: 324 kB / 0.9877 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/2.896, allocations: 0 / 0.9877 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.6848/3.581, allocations: 135.4 MB / 1.12 GB, free: 124.5 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches