Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2309/0.2309, allocations: 46.94 MB / 361.4 MB, free: 4.418 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 83.86 kB / 0.4972 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3495, allocations: 66.05 MB / 0.5617 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01641/0.3659, allocations: 13.47 MB / 0.5748 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.3774, allocations: 4.844 MB / 0.5795 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003064/0.3804, allocations: 111.4 kB / 0.5796 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008199/0.3886, allocations: 3.789 MB / 0.5833 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007907/0.3965, allocations: 2.226 MB / 0.5855 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.3996, allocations: 1.08 MB / 0.5866 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01125/0.4108, allocations: 6.678 MB / 0.5931 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005262/0.4161, allocations: 3.256 MB / 0.5963 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004923/0.421, allocations: 2.06 MB / 0.5983 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005919/0.427, allocations: 2.96 MB / 0.6012 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.4286, allocations: 428 kB / 0.6016 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.4328, allocations: 1.494 MB / 0.603 GB, free: 9.965 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004102/0.4369, allocations: 2.52 MB / 0.6055 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004644/0.4415, allocations: 2.769 MB / 0.6082 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.4551, allocations: 8.794 MB / 0.6168 GB, free: 11.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4551, allocations: 0 / 0.6168 GB, free: 11.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4551, allocations: 0 / 0.6168 GB, free: 11.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003278/0.4554, allocations: 0 / 0.6168 GB, free: 11.82 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.01855/0.4739, allocations: 6.326 MB / 0.623 GB, free: 5.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.474, allocations: 12.03 kB / 0.623 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.485, allocations: 2.556 MB / 0.6255 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009669/0.4947, allocations: 3.871 MB / 0.6293 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.495, allocations: 279.7 kB / 0.6295 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/0.4968, allocations: 395.7 kB / 0.6299 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/0.5219, allocations: 12 MB / 0.6416 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.5221, allocations: 59.52 kB / 0.6417 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000773/0.5229, allocations: 183.9 kB / 0.6419 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003644/0.5265, allocations: 2.14 MB / 0.6439 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/0.55, allocations: 10.36 MB / 0.6541 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07007/0.62, allocations: 47.23 MB / 0.7002 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/0.6349, allocations: 5.159 MB / 0.7052 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004959/0.6399, allocations: 2.689 MB / 0.7079 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01903/0.6589, allocations: 8.421 MB / 0.7161 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/0.659, allocations: 55.86 kB / 0.7161 GB, free: 3.695 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 4.559e-06/0.659, allocations: 0 / 0.7161 GB, free: 3.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.4701/1.129, allocations: 35 MB / 0.7503 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.129, allocations: 210 kB / 0.7505 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006365/1.136, allocations: 4.777 MB / 0.7552 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006352/1.136, allocations: 61.2 kB / 0.7552 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.138, allocations: 3.673 MB / 0.7588 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.139, allocations: 1.018 MB / 0.7598 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0018/1.141, allocations: 1.429 MB / 0.7612 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.813e-05/1.141, allocations: 308.9 kB / 0.7615 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003908/1.145, allocations: 3.172 MB / 0.7646 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005422/1.15, allocations: 7.045 MB / 0.7715 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.161, allocations: 10.95 MB / 0.7822 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/1.161, allocations: 40 kB / 0.7822 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02708/1.188, allocations: 13.72 MB / 0.7956 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002199/1.189, allocations: 64 kB / 0.7957 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002384/1.189, allocations: 136 kB / 0.7958 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/1.2, allocations: 4.384 MB / 0.8001 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004917/1.205, allocations: 1.474 MB / 0.8015 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03494/1.24, allocations: 28.71 MB / 0.8296 GB, free: 71.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00691/1.247, allocations: 425.6 kB / 0.83 GB, free: 70.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/1.249, allocations: 415.6 kB / 0.8304 GB, free: 70.22 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.005668/1.254, allocations: 2.47 MB / 0.8328 GB, free: 67.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/1.256, allocations: 461 kB / 0.8332 GB, free: 67.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.272, allocations: 8.412 MB / 0.8414 GB, free: 58.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.038e-05/1.272, allocations: 31.94 kB / 0.8415 GB, free: 58.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.856e-05/1.272, allocations: 12 kB / 0.8415 GB, free: 58.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.279e-05/1.272, allocations: 15.95 kB / 0.8415 GB, free: 58.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03308/1.306, allocations: 16.83 MB / 0.8579 GB, free: 41.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-05/1.306, allocations: 7.938 kB / 0.8579 GB, free: 41.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.307, allocations: 299.5 kB / 0.8582 GB, free: 41.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/1.317, allocations: 3.963 MB / 0.8621 GB, free: 37.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006499/1.318, allocations: 44 kB / 0.8621 GB, free: 37.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03296/1.351, allocations: 27.51 MB / 0.889 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/1.351, allocations: 4 kB / 0.889 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02478/1.376, allocations: 12.4 MB / 0.9011 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/1.378, allocations: 444.7 kB / 0.9015 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/1.379, allocations: 55.98 kB / 0.9016 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003225/1.383, allocations: 175.8 kB / 0.9017 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/1.384, allocations: 205.8 kB / 0.9019 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004343/1.384, allocations: 72 kB / 0.902 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006799/1.391, allocations: 3.009 MB / 0.9049 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.12e-07/1.391, allocations: 0 / 0.9049 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009406/1.4, allocations: 1.453 MB / 0.9064 GB, free: 7.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.001271/1.402, allocations: 187.8 kB / 0.9065 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01718/1.419, allocations: 8.146 MB / 0.9145 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.419, allocations: 0.8438 kB / 0.9145 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00702/1.426, allocations: 3.32 MB / 0.9177 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004844/1.431, allocations: 0.5792 MB / 0.9183 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/1.457, allocations: 12.7 MB / 0.9307 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006655/1.464, allocations: 3.915 MB / 0.9345 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005476/1.47, allocations: 2.003 MB / 0.9365 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.471, allocations: 279.4 kB / 0.9368 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/1.471, allocations: 0 / 0.9368 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of Templates: time 0.4149/1.886, allocations: 74.9 MB / 1.01 GB, free: 195 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 9.047220514155924]