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.001886/0.001886, 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.001522/0.001522, allocations: 206.6 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2436/0.2436, allocations: 46.96 MB / 361.6 MB, free: 4.066 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.001996/0.001996, allocations: 63.91 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3491, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01519/0.3643, allocations: 11.65 MB / 0.5732 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.375, allocations: 4.599 MB / 0.5777 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.3781, allocations: 115.4 kB / 0.5778 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007309/0.3854, allocations: 3.637 MB / 0.5813 GB, free: 104 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006331/0.3917, allocations: 2.233 MB / 0.5835 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.3942, allocations: 1.065 MB / 0.5846 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01071/0.405, allocations: 6.682 MB / 0.5911 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004745/0.4097, allocations: 3.535 MB / 0.5945 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.4132, allocations: 2.068 MB / 0.5966 GB, free: 432 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004681/0.4179, allocations: 2.956 MB / 0.5994 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.4189, allocations: 428 kB / 0.5999 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.4216, allocations: 1.354 MB / 0.6012 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002533/0.4241, allocations: 2.528 MB / 0.6036 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00245/0.4265, allocations: 2.062 MB / 0.6057 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.4369, allocations: 8.841 MB / 0.6143 GB, free: 14.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4369, allocations: 3.938 kB / 0.6143 GB, free: 14.19 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4369, allocations: 0 / 0.6143 GB, free: 14.19 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002166/0.4371, allocations: 0 / 0.6143 GB, free: 14.19 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.01693/0.4541, allocations: 6.322 MB / 0.6205 GB, free: 7.805 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4541, allocations: 8.031 kB / 0.6205 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.4654, allocations: 2.556 MB / 0.623 GB, free: 5.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/0.4763, allocations: 3.883 MB / 0.6268 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.4766, allocations: 287.7 kB / 0.627 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.4781, allocations: 391.7 kB / 0.6274 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.5017, allocations: 12.06 MB / 0.6392 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.5019, allocations: 55.53 kB / 0.6392 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005187/0.5024, allocations: 179.8 kB / 0.6394 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003381/0.5058, allocations: 2.143 MB / 0.6415 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02121/0.527, allocations: 10.33 MB / 0.6516 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06297/0.59, allocations: 43.63 MB / 0.6942 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/0.604, allocations: 5.153 MB / 0.6992 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/0.6077, allocations: 2.7 MB / 0.7019 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01492/0.6226, allocations: 7.741 MB / 0.7094 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/0.6227, allocations: 63.86 kB / 0.7095 GB, free: 10.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 5.29e-06/0.6227, allocations: 0 / 0.7095 GB, free: 10.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.475/1.098, allocations: 35.07 MB / 0.7437 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/1.098, allocations: 208.4 kB / 0.7439 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005426/1.103, allocations: 4.439 MB / 0.7483 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004457/1.104, allocations: 65.61 kB / 0.7483 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001841/1.105, allocations: 3.697 MB / 0.7519 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008766/1.106, allocations: 1.017 MB / 0.7529 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001633/1.108, allocations: 1.429 MB / 0.7543 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/1.108, allocations: 309.1 kB / 0.7546 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/1.112, allocations: 3.172 MB / 0.7577 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004592/1.116, allocations: 7.097 MB / 0.7647 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/1.126, allocations: 10.94 MB / 0.7753 GB, free: 126 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/1.126, allocations: 38.25 kB / 0.7754 GB, free: 126 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02333/1.15, allocations: 13.67 MB / 0.7887 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/1.15, allocations: 65.88 kB / 0.7888 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/1.15, allocations: 136 kB / 0.7889 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/1.161, allocations: 4.383 MB / 0.7932 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004437/1.165, allocations: 1.474 MB / 0.7946 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03284/1.198, allocations: 28.29 MB / 0.8223 GB, free: 77.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005926/1.204, allocations: 419.4 kB / 0.8227 GB, free: 77.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.205, allocations: 408 kB / 0.8231 GB, free: 76.87 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.004521/1.21, allocations: 2.47 MB / 0.8255 GB, free: 74.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.211, allocations: 417.2 kB / 0.8259 GB, free: 73.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/1.226, allocations: 8.373 MB / 0.8341 GB, free: 65.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.969e-05/1.226, allocations: 28 kB / 0.8341 GB, free: 65.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.82e-05/1.226, allocations: 16 kB / 0.8341 GB, free: 65.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/1.226, allocations: 11.95 kB / 0.8341 GB, free: 65.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.028/1.254, allocations: 15.18 MB / 0.8489 GB, free: 50.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/1.254, allocations: 4 kB / 0.8489 GB, free: 50.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.255, allocations: 304.2 kB / 0.8492 GB, free: 50 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009598/1.265, allocations: 3.968 MB / 0.8531 GB, free: 46.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/1.265, allocations: 48 kB / 0.8531 GB, free: 45.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0289/1.294, allocations: 27.07 MB / 0.8796 GB, free: 18.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.294, allocations: 7.938 kB / 0.8796 GB, free: 18.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/1.313, allocations: 12.36 MB / 0.8917 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.314, allocations: 389 kB / 0.892 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.315, allocations: 52.05 kB / 0.8921 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.318, allocations: 175.8 kB / 0.8922 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008226/1.319, allocations: 201.8 kB / 0.8924 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003012/1.319, allocations: 68 kB / 0.8925 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004064/1.323, allocations: 2.617 MB / 0.8951 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.323, allocations: 1.969 kB / 0.8951 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006697/1.33, allocations: 1.441 MB / 0.8965 GB, free: 1.156 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.0006076/1.331, allocations: 186.5 kB / 0.8966 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01473/1.345, allocations: 8.159 MB / 0.9046 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.345, allocations: 0 / 0.9046 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006294/1.352, allocations: 3.32 MB / 0.9079 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004341/1.356, allocations: 0.5139 MB / 0.9084 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/1.38, allocations: 12.66 MB / 0.9207 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005984/1.386, allocations: 3.394 MB / 0.924 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005246/1.391, allocations: 1.953 MB / 0.9259 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.392, allocations: 259.4 kB / 0.9262 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of SimCode: time 1.192e-06/1.392, allocations: 0 / 0.9262 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of Templates: time 0.3991/1.792, allocations: 72.89 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 cvode -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.244665442995029]