Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2056/0.2056, allocations: 32.8 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.91 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3163, allocations: 65.45 MB / 0.4942 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01086/0.3271, allocations: 11.67 MB / 0.5055 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00862/0.3358, allocations: 4.586 MB / 0.51 GB, free: 20.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.3378, allocations: 114.5 kB / 0.5101 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005568/0.3434, allocations: 3.64 MB / 0.5137 GB, free: 19.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.3485, allocations: 2.221 MB / 0.5159 GB, free: 18.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.3507, allocations: 1.073 MB / 0.5169 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008966/0.3596, allocations: 6.676 MB / 0.5234 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004625/0.3643, allocations: 3.526 MB / 0.5269 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.3679, allocations: 2.065 MB / 0.5289 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004807/0.3727, allocations: 2.779 MB / 0.5316 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.3741, allocations: 428.6 kB / 0.532 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003474/0.3776, allocations: 1.341 MB / 0.5333 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003117/0.3807, allocations: 2.53 MB / 0.5358 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003395/0.3841, allocations: 2.064 MB / 0.5378 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.3952, allocations: 8.839 MB / 0.5464 GB, free: 3.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3952, allocations: 4 kB / 0.5464 GB, free: 3.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3952, allocations: 1.031 kB / 0.5464 GB, free: 3.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003425/0.3955, allocations: 0 / 0.5464 GB, free: 3.023 MB / 446.1 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.0174/0.4129, allocations: 6.321 MB / 0.5526 GB, free: 12.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.413, allocations: 12.03 kB / 0.5526 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.4249, allocations: 2.642 MB / 0.5552 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.4351, allocations: 3.891 MB / 0.559 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/0.4354, allocations: 283.7 kB / 0.5593 GB, free: 6.031 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.4369, allocations: 387.7 kB / 0.5596 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/0.4626, allocations: 12.07 MB / 0.5714 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001881/0.4628, allocations: 59.52 kB / 0.5715 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005566/0.4634, allocations: 179.8 kB / 0.5717 GB, free: 8.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003673/0.467, allocations: 2.139 MB / 0.5737 GB, free: 6.402 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02407/0.4911, allocations: 10.35 MB / 0.5839 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07324/0.5643, allocations: 43.77 MB / 0.6266 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/0.5807, allocations: 5.318 MB / 0.6318 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004578/0.5853, allocations: 2.692 MB / 0.6344 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01796/0.6032, allocations: 7.788 MB / 0.642 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.433e-05/0.6033, allocations: 55.81 kB / 0.6421 GB, free: 15.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 6.191e-06/0.6033, allocations: 4 kB / 0.6421 GB, free: 15.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.134/0.7373, allocations: 36.08 MB / 0.6773 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.7375, allocations: 205.9 kB / 0.6775 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006542/0.744, allocations: 4.44 MB / 0.6818 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006878/0.7447, allocations: 69.7 kB / 0.6819 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002874/0.7476, allocations: 3.691 MB / 0.6855 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.749, allocations: 1.023 MB / 0.6865 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00217/0.7512, allocations: 1.421 MB / 0.6879 GB, free: 124 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2539/1.005, allocations: 308.6 kB / 0.6882 GB, free: 152 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006203/1.011, allocations: 3.173 MB / 0.6913 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006855/1.018, allocations: 7.092 MB / 0.6982 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.029, allocations: 10.96 MB / 0.7089 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/1.029, allocations: 36.22 kB / 0.709 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0283/1.058, allocations: 13.66 MB / 0.7223 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.058, allocations: 64.97 kB / 0.7224 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002628/1.058, allocations: 136 kB / 0.7225 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/1.072, allocations: 4.386 MB / 0.7268 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005199/1.077, allocations: 1.481 MB / 0.7282 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03398/1.111, allocations: 28.3 MB / 0.7559 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006153/1.117, allocations: 406.2 kB / 0.7562 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/1.118, allocations: 418.5 kB / 0.7566 GB, free: 115 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004343/1.123, allocations: 2.469 MB / 0.7591 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008969/1.124, allocations: 421.1 kB / 0.7595 GB, free: 112.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/1.138, allocations: 8.381 MB / 0.7676 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/1.138, allocations: 31.94 kB / 0.7677 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/1.138, allocations: 16 kB / 0.7677 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-05/1.138, allocations: 11.95 kB / 0.7677 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/1.164, allocations: 15.2 MB / 0.7825 GB, free: 90.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/1.164, allocations: 8.094 kB / 0.7825 GB, free: 90.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.165, allocations: 295.6 kB / 0.7828 GB, free: 90.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009672/1.175, allocations: 3.964 MB / 0.7867 GB, free: 86.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000477/1.176, allocations: 48 kB / 0.7867 GB, free: 86.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/1.204, allocations: 27.09 MB / 0.8132 GB, free: 59.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.204, allocations: 8 kB / 0.8132 GB, free: 59.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.222, allocations: 12.36 MB / 0.8253 GB, free: 46.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.224, allocations: 381.2 kB / 0.8256 GB, free: 46.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006455/1.224, allocations: 59.75 kB / 0.8257 GB, free: 46.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/1.226, allocations: 167.8 kB / 0.8259 GB, free: 46.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006901/1.227, allocations: 208.1 kB / 0.8261 GB, free: 45.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/1.227, allocations: 64 kB / 0.8261 GB, free: 45.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003291/1.231, allocations: 2.625 MB / 0.8287 GB, free: 43.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.231, allocations: 2.812 kB / 0.8287 GB, free: 43.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006493/1.237, allocations: 1.438 MB / 0.8301 GB, free: 41.77 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005093/1.238, allocations: 189.8 kB / 0.8303 GB, free: 41.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.25, allocations: 8.15 MB / 0.8382 GB, free: 33.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.25, allocations: 4 kB / 0.8382 GB, free: 33.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00512/1.255, allocations: 3.309 MB / 0.8415 GB, free: 30.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/1.258, allocations: 0.5141 MB / 0.842 GB, free: 29.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.276, allocations: 12.66 MB / 0.8543 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003788/1.28, allocations: 3.398 MB / 0.8577 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003844/1.284, allocations: 1.949 MB / 0.8596 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007018/1.285, allocations: 264.5 kB / 0.8598 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/1.285, allocations: 0 / 0.8598 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.1144/1.399, allocations: 64.37 MB / 0.9227 GB, free: 11.24 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.322036681929603]