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.001071/0.001071, allocations: 173.7 kB / 16.41 MB, free: 5.684 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.524/1.524, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0009808/0.000981, allocations: 90.34 kB / 270.9 MB, free: 8.344 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.4132/0.4132, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004066, allocations: 8 kB / 431.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 58.84 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3628/0.5069, allocations: 56.61 MB / 0.534 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03307/0.54, allocations: 12.31 MB / 0.546 GB, free: 1.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0179/0.558, allocations: 279.9 kB / 0.5463 GB, free: 1.875 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.5702, allocations: 2.934 MB / 0.5492 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03286/0.6032, allocations: 8.717 MB / 0.5577 GB, free: 13.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006154/0.6093, allocations: 0.9118 MB / 0.5586 GB, free: 12.82 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.05027/0.6596, allocations: 36.1 MB / 0.5938 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.6707, allocations: 5.571 MB / 0.5993 GB, free: 10.94 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.6754, allocations: 1.654 MB / 0.6009 GB, free: 9.281 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004903/0.6804, allocations: 2.567 MB / 0.6034 GB, free: 6.707 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.682, allocations: 180 kB / 0.6036 GB, free: 6.531 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.6857, allocations: 1.065 MB / 0.6046 GB, free: 5.465 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003533/0.6893, allocations: 2.162 MB / 0.6067 GB, free: 3.297 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.6916, allocations: 1.026 MB / 0.6077 GB, free: 2.262 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009085/0.7008, allocations: 6.788 MB / 0.6144 GB, free: 11.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.7008, allocations: 0 / 0.6144 GB, free: 11.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.7008, allocations: 0 / 0.6144 GB, free: 11.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004003/0.7012, allocations: 0 / 0.6144 GB, free: 11.46 MB / 442.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.01565/0.7169, allocations: 5.24 MB / 0.6195 GB, free: 6.145 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.7169, allocations: 8.562 kB / 0.6195 GB, free: 6.137 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.7288, allocations: 2.578 MB / 0.622 GB, free: 3.547 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.74, allocations: 3.955 MB / 0.6259 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003941/0.7405, allocations: 287.3 kB / 0.6261 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002633/0.7432, allocations: 387.6 kB / 0.6265 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/0.7719, allocations: 12 MB / 0.6382 GB, free: 2.094 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004795/0.7725, allocations: 63.42 kB / 0.6383 GB, free: 2.031 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002412/0.7749, allocations: 175.8 kB / 0.6385 GB, free: 1.859 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005686/0.7806, allocations: 2.136 MB / 0.6405 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03339/0.8141, allocations: 10.35 MB / 0.6506 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4054/1.22, allocations: 47.51 MB / 0.697 GB, free: 109.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01544/1.235, allocations: 5.815 MB / 0.7027 GB, free: 109.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003694/1.239, allocations: 2.963 MB / 0.7056 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01447/1.253, allocations: 8.882 MB / 0.7143 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/1.253, allocations: 50.69 kB / 0.7143 GB, free: 103.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 6.112e-06/1.253, allocations: 0 / 0.7143 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.1205/1.374, allocations: 35.08 MB / 0.7486 GB, free: 92.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.374, allocations: 214.4 kB / 0.7488 GB, free: 92.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006502/1.381, allocations: 4.774 MB / 0.7535 GB, free: 88.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006973/1.381, allocations: 61.7 kB / 0.7535 GB, free: 88.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/1.384, allocations: 3.544 MB / 0.757 GB, free: 84.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/1.385, allocations: 0.9691 MB / 0.7579 GB, free: 83.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/1.385, allocations: 140.7 kB / 0.7581 GB, free: 83.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002945/1.385, allocations: 0.5996 MB / 0.7586 GB, free: 82.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/1.389, allocations: 3.149 MB / 0.7617 GB, free: 79.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005711/1.395, allocations: 7.012 MB / 0.7686 GB, free: 70.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005901/1.401, allocations: 4.598 MB / 0.7731 GB, free: 66.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-05/1.401, allocations: 40 kB / 0.7731 GB, free: 66.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02552/1.427, allocations: 13.69 MB / 0.7865 GB, free: 52.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.988e-05/1.427, allocations: 64.97 kB / 0.7865 GB, free: 52.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/1.427, allocations: 136 kB / 0.7867 GB, free: 52.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/1.438, allocations: 4.413 MB / 0.791 GB, free: 47.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005184/1.444, allocations: 1.482 MB / 0.7924 GB, free: 46.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03214/1.476, allocations: 26.84 MB / 0.8186 GB, free: 19.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006449/1.482, allocations: 407.3 kB / 0.819 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/1.484, allocations: 408 kB / 0.8194 GB, free: 18.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (798): * Single equations (assignments): 792 * 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.00502/1.489, allocations: 2.477 MB / 0.8218 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/1.49, allocations: 438.3 kB / 0.8222 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/1.505, allocations: 8.463 MB / 0.8305 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-05/1.505, allocations: 35.94 kB / 0.8305 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.753e-05/1.505, allocations: 12 kB / 0.8306 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-05/1.505, allocations: 20.78 kB / 0.8306 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.034/1.539, allocations: 17.04 MB / 0.8472 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/1.539, allocations: 8 kB / 0.8472 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.541, allocations: 296.2 kB / 0.8475 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01192/1.553, allocations: 4.117 MB / 0.8515 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007122/1.554, allocations: 51.98 kB / 0.8516 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3835/1.937, allocations: 25.59 MB / 0.8766 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.937, allocations: 10.22 kB / 0.8766 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/1.959, allocations: 12.41 MB / 0.8887 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003083/1.962, allocations: 0.9707 MB / 0.8896 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008082/1.963, allocations: 45.64 kB / 0.8897 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/1.966, allocations: 175.8 kB / 0.8899 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007975/1.966, allocations: 194.7 kB / 0.89 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.967, allocations: 72.75 kB / 0.8901 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004894/1.971, allocations: 3.003 MB / 0.893 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/1.971, allocations: 0 / 0.893 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008082/1.98, allocations: 1.47 MB / 0.8945 GB, free: 147.1 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 (158): * Single equations (assignments): 152 * 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.0006343/1.98, allocations: 189.9 kB / 0.8947 GB, free: 147 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01438/1.995, allocations: 8.381 MB / 0.9028 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.995, allocations: 1.406 kB / 0.9028 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007187/2.002, allocations: 3.555 MB / 0.9063 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005504/2.007, allocations: 0.5517 MB / 0.9069 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/2.036, allocations: 14.94 MB / 0.9214 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006123/2.042, allocations: 3.902 MB / 0.9253 GB, free: 133 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/2.044, allocations: 326.8 kB / 0.9256 GB, free: 133 MB / 0.5105 GB Notification: Performance of SimCode: time 1.552e-06/2.044, allocations: 0 / 0.9256 GB, free: 133 MB / 0.5105 GB Notification: Performance of Templates: time 0.4501/2.494, allocations: 141.5 MB / 1.064 GB, free: 148.9 MB / 0.5105 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/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_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches