Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001932/0.001932, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002253/0.002253, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 46.96 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 59.91 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.305, allocations: 66.05 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01472/0.3197, allocations: 11.65 MB / 0.5732 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.3309, allocations: 4.595 MB / 0.5777 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.3328, allocations: 111.4 kB / 0.5778 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007316/0.3401, allocations: 3.633 MB / 0.5813 GB, free: 116 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005586/0.3457, allocations: 2.23 MB / 0.5835 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.3481, allocations: 1.076 MB / 0.5846 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009705/0.3578, allocations: 6.678 MB / 0.5911 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005309/0.3631, allocations: 3.547 MB / 0.5945 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.367, allocations: 2.052 MB / 0.5965 GB, free: 444 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004949/0.372, allocations: 2.96 MB / 0.5994 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.3731, allocations: 432 kB / 0.5998 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.3761, allocations: 1.358 MB / 0.6012 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00309/0.3792, allocations: 2.524 MB / 0.6036 GB, free: 9.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002712/0.3819, allocations: 2.066 MB / 0.6057 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.3924, allocations: 8.833 MB / 0.6143 GB, free: 14.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3924, allocations: 4 kB / 0.6143 GB, free: 14.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3924, allocations: 0 / 0.6143 GB, free: 14.2 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000224/0.3927, allocations: 0 / 0.6143 GB, free: 14.2 MB / 462.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.01522/0.4079, allocations: 6.322 MB / 0.6205 GB, free: 7.812 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4079, allocations: 8.031 kB / 0.6205 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.4199, allocations: 2.56 MB / 0.623 GB, free: 5.238 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.4306, allocations: 3.887 MB / 0.6268 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.4309, allocations: 291.6 kB / 0.627 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.4323, allocations: 391.7 kB / 0.6274 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/0.4554, allocations: 12.05 MB / 0.6392 GB, free: 3.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.4556, allocations: 59.53 kB / 0.6392 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000522/0.4561, allocations: 175.9 kB / 0.6394 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003599/0.4597, allocations: 2.143 MB / 0.6415 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/0.481, allocations: 10.33 MB / 0.6516 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06151/0.5425, allocations: 43.63 MB / 0.6942 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/0.5579, allocations: 5.158 MB / 0.6992 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00388/0.5618, allocations: 2.702 MB / 0.7019 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01536/0.5772, allocations: 7.738 MB / 0.7094 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/0.5772, allocations: 59.81 kB / 0.7095 GB, free: 10.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 6.502e-06/0.5772, allocations: 0 / 0.7095 GB, free: 10.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.3628/0.94, allocations: 35.07 MB / 0.7437 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.9401, allocations: 208 kB / 0.7439 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004901/0.945, allocations: 4.443 MB / 0.7483 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003986/0.9454, allocations: 61.45 kB / 0.7483 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/0.9471, allocations: 3.695 MB / 0.7519 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008259/0.9479, allocations: 1.018 MB / 0.7529 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/0.9496, allocations: 1.436 MB / 0.7543 GB, free: 148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.9496, allocations: 309 kB / 0.7546 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/0.9532, allocations: 3.17 MB / 0.7577 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/0.958, allocations: 7.098 MB / 0.7647 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009239/0.9673, allocations: 10.95 MB / 0.7754 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-05/0.9674, allocations: 36 kB / 0.7754 GB, free: 126 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02344/0.9908, allocations: 13.67 MB / 0.7887 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.9909, allocations: 68.03 kB / 0.7888 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.991, allocations: 136 kB / 0.7889 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/1.003, allocations: 4.383 MB / 0.7932 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004327/1.007, allocations: 1.474 MB / 0.7946 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03243/1.039, allocations: 28.29 MB / 0.8223 GB, free: 77.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005551/1.045, allocations: 411.5 kB / 0.8227 GB, free: 77.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.046, allocations: 408.8 kB / 0.8231 GB, free: 76.9 MB / 0.5606 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.003641/1.05, allocations: 2.471 MB / 0.8255 GB, free: 74.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009872/1.051, allocations: 425 kB / 0.8259 GB, free: 74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/1.066, allocations: 8.376 MB / 0.8341 GB, free: 65.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.334e-05/1.066, allocations: 28.56 kB / 0.8341 GB, free: 65.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/1.066, allocations: 12 kB / 0.8341 GB, free: 65.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/1.066, allocations: 11.95 kB / 0.8341 GB, free: 65.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02916/1.095, allocations: 15.18 MB / 0.8489 GB, free: 50.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/1.095, allocations: 7.984 kB / 0.8489 GB, free: 50.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.097, allocations: 295.6 kB / 0.8492 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01052/1.107, allocations: 3.965 MB / 0.8531 GB, free: 46.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003574/1.108, allocations: 44 kB / 0.8531 GB, free: 46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03089/1.138, allocations: 27.08 MB / 0.8796 GB, free: 18.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.138, allocations: 4 kB / 0.8796 GB, free: 18.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02002/1.158, allocations: 12.35 MB / 0.8917 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.16, allocations: 404.8 kB / 0.892 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.161, allocations: 51.66 kB / 0.8921 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/1.164, allocations: 167.8 kB / 0.8922 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008584/1.165, allocations: 201.9 kB / 0.8924 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003344/1.165, allocations: 72 kB / 0.8925 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003942/1.169, allocations: 2.617 MB / 0.8951 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.169, allocations: 4.062 kB / 0.8951 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006454/1.175, allocations: 1.441 MB / 0.8965 GB, free: 1.172 MB / 0.5606 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.0006619/1.176, allocations: 178.7 kB / 0.8966 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01529/1.191, allocations: 8.152 MB / 0.9046 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.191, allocations: 0 / 0.9046 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006582/1.198, allocations: 3.32 MB / 0.9078 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/1.202, allocations: 0.5127 MB / 0.9083 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02494/1.227, allocations: 12.66 MB / 0.9207 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006391/1.233, allocations: 3.398 MB / 0.924 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005161/1.239, allocations: 1.957 MB / 0.9259 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.24, allocations: 255.4 kB / 0.9262 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of SimCode: time 9.21e-07/1.24, allocations: 4 kB / 0.9262 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of Templates: time 0.3519/1.591, allocations: 72.88 MB / 0.9974 GB, free: 209.3 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.204946839992772]