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.001936/0.001936, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.002293/0.002293, allocations: 167.9 kB / 23.96 MB, free: 4.148 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.442/1.442, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.2014/0.2014, allocations: 32.81 MB / 293.5 MB, free: 16 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.476e-05, allocations: 9.375 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2063/0.2063, allocations: 11.66 MB / 451.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00926/0.2156, allocations: 4.606 MB / 456.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.218, allocations: 114.3 kB / 456.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006912/0.2249, allocations: 3.813 MB / 460.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006185/0.2311, allocations: 2.298 MB / 462.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.2338, allocations: 1.179 MB / 463.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009543/0.2433, allocations: 7.723 MB / 471.5 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005717/0.249, allocations: 4.291 MB / 475.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007009/0.256, allocations: 3.174 MB / 478.9 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006145/0.2622, allocations: 3.155 MB / 482.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001787/0.264, allocations: 446.4 kB / 482.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004051/0.268, allocations: 1.412 MB / 483.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003596/0.2716, allocations: 2.649 MB / 486.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003134/0.2748, allocations: 1.651 MB / 488.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.287, allocations: 8.941 MB / 497.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.287, allocations: 0 / 497.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.287, allocations: 0 / 497.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002474/0.2873, allocations: 0 / 497.2 MB, free: 0.8672 MB / 382.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.01564/0.3029, allocations: 6.443 MB / 0.4918 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.303, allocations: 12.03 kB / 0.4918 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.3152, allocations: 2.646 MB / 0.4944 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009324/0.3245, allocations: 3.835 MB / 0.4982 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.3248, allocations: 283.7 kB / 0.4984 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.326, allocations: 384.1 kB / 0.4988 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/0.3488, allocations: 12.07 MB / 0.5106 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/0.3489, allocations: 59.52 kB / 0.5106 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004933/0.3494, allocations: 179.8 kB / 0.5108 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003601/0.353, allocations: 2.139 MB / 0.5129 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/0.3745, allocations: 10.35 MB / 0.523 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06117/0.4357, allocations: 44.04 MB / 0.566 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/0.4508, allocations: 5.31 MB / 0.5712 GB, free: 7.027 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00387/0.4547, allocations: 2.695 MB / 0.5738 GB, free: 4.324 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01427/0.469, allocations: 8.037 MB / 0.5817 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.469, allocations: 59.88 kB / 0.5817 GB, free: 12.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 4.699e-06/0.469, allocations: 0 / 0.5817 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1355/0.6045, allocations: 36.26 MB / 0.6171 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.6047, allocations: 209.9 kB / 0.6173 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008034/0.6127, allocations: 4.682 MB / 0.6219 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006971/0.6134, allocations: 65.98 kB / 0.622 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003465/0.6169, allocations: 3.668 MB / 0.6256 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/0.6184, allocations: 1.004 MB / 0.6265 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002418/0.6208, allocations: 1.413 MB / 0.6279 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6209, allocations: 305.1 kB / 0.6282 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005377/0.6263, allocations: 3.176 MB / 0.6313 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00995/0.6363, allocations: 7.094 MB / 0.6382 GB, free: 292 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2182/0.8544, allocations: 10.94 MB / 0.6489 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001241/0.8546, allocations: 38.84 kB / 0.649 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03078/0.8854, allocations: 13.67 MB / 0.6623 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.8855, allocations: 66.97 kB / 0.6624 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/0.8856, allocations: 140.9 kB / 0.6625 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0124/0.898, allocations: 4.377 MB / 0.6668 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/0.9026, allocations: 1.483 MB / 0.6682 GB, free: 155 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03262/0.9352, allocations: 28.32 MB / 0.6959 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005838/0.9411, allocations: 497.2 kB / 0.6964 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009719/0.942, allocations: 408 kB / 0.6968 GB, free: 133.5 MB / 0.5294 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.003551/0.9456, allocations: 2.476 MB / 0.6992 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008776/0.9465, allocations: 420.5 kB / 0.6996 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/0.9614, allocations: 8.375 MB / 0.7078 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/0.9615, allocations: 24 kB / 0.7078 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/0.9615, allocations: 16 kB / 0.7078 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.776e-05/0.9615, allocations: 11.95 kB / 0.7078 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/0.987, allocations: 15.33 MB / 0.7228 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/0.987, allocations: 4 kB / 0.7228 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.9884, allocations: 299.5 kB / 0.7231 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01023/0.9987, allocations: 3.962 MB / 0.7269 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005003/0.9992, allocations: 53.12 kB / 0.727 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02954/1.029, allocations: 27.11 MB / 0.7535 GB, free: 75.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.029, allocations: 11.94 kB / 0.7535 GB, free: 75.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/1.047, allocations: 12.35 MB / 0.7655 GB, free: 63.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.049, allocations: 439 kB / 0.7659 GB, free: 62.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006164/1.049, allocations: 48 kB / 0.766 GB, free: 62.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.052, allocations: 235.6 kB / 0.7662 GB, free: 62.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008204/1.052, allocations: 211.9 kB / 0.7664 GB, free: 62.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/1.053, allocations: 67.98 kB / 0.7665 GB, free: 62.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00355/1.056, allocations: 2.808 MB / 0.7692 GB, free: 59.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.056, allocations: 4.062 kB / 0.7692 GB, free: 59.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005819/1.062, allocations: 1.596 MB / 0.7708 GB, free: 57.74 MB / 0.5294 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.0005497/1.063, allocations: 199.6 kB / 0.771 GB, free: 57.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.074, allocations: 8.142 MB / 0.7789 GB, free: 49.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.074, allocations: 4 kB / 0.7789 GB, free: 49.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004647/1.079, allocations: 3.312 MB / 0.7822 GB, free: 46.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/1.082, allocations: 0.5216 MB / 0.7827 GB, free: 45.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.098, allocations: 12.6 MB / 0.795 GB, free: 32.87 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00322/1.101, allocations: 3.394 MB / 0.7983 GB, free: 29.44 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003646/1.105, allocations: 1.961 MB / 0.8002 GB, free: 27.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007952/1.106, allocations: 272.4 kB / 0.8005 GB, free: 27.21 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/1.106, allocations: 0 / 0.8005 GB, free: 27.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.281/1.387, allocations: 66.57 MB / 0.8655 GB, free: 169 MB / 0.545 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/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: 7.791713148355484]