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.001842/0.001842, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002306/0.002306, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 8 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.2516/0.2516, allocations: 46.94 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.002123/0.002123, allocations: 59.91 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3715, allocations: 66.03 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01672/0.3882, allocations: 13.47 MB / 0.5743 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.3996, allocations: 4.836 MB / 0.579 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.4024, allocations: 111.4 kB / 0.5791 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008057/0.4104, allocations: 3.8 MB / 0.5828 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006415/0.4169, allocations: 2.222 MB / 0.585 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.4201, allocations: 1.072 MB / 0.586 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.4322, allocations: 6.675 MB / 0.5926 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006864/0.4391, allocations: 3.551 MB / 0.596 GB, free: 484 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004986/0.4441, allocations: 2.056 MB / 0.598 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005659/0.4498, allocations: 2.964 MB / 0.6009 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.4512, allocations: 428 kB / 0.6013 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.4548, allocations: 1.494 MB / 0.6028 GB, free: 9.523 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003485/0.4583, allocations: 2.524 MB / 0.6053 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004377/0.4627, allocations: 2.765 MB / 0.608 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.4737, allocations: 8.79 MB / 0.6165 GB, free: 11.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4737, allocations: 0 / 0.6165 GB, free: 11.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4737, allocations: 0 / 0.6165 GB, free: 11.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002485/0.474, allocations: 0 / 0.6165 GB, free: 11.38 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.01457/0.4885, allocations: 6.326 MB / 0.6227 GB, free: 4.992 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4886, allocations: 15.97 kB / 0.6227 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.4993, allocations: 2.556 MB / 0.6252 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.5098, allocations: 3.875 MB / 0.629 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.5101, allocations: 283.7 kB / 0.6293 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.5112, allocations: 387.7 kB / 0.6297 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/0.5338, allocations: 12 MB / 0.6414 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001884/0.534, allocations: 63.52 kB / 0.6414 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005068/0.5345, allocations: 179.8 kB / 0.6416 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003657/0.5382, allocations: 2.14 MB / 0.6437 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/0.5596, allocations: 10.37 MB / 0.6538 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06564/0.6253, allocations: 47.22 MB / 0.6999 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0147/0.64, allocations: 5.166 MB / 0.705 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/0.6439, allocations: 2.698 MB / 0.7076 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/0.6598, allocations: 8.421 MB / 0.7158 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.6598, allocations: 55.88 kB / 0.7159 GB, free: 3.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 4.9e-06/0.6598, allocations: 0 / 0.7159 GB, free: 3.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.4778/1.138, allocations: 34.99 MB / 0.7501 GB, free: 151 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/1.138, allocations: 212.9 kB / 0.7503 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006966/1.145, allocations: 4.772 MB / 0.7549 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007402/1.145, allocations: 61.48 kB / 0.755 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002107/1.148, allocations: 3.686 MB / 0.7586 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009914/1.149, allocations: 1.018 MB / 0.7596 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001658/1.15, allocations: 1.429 MB / 0.761 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.321e-05/1.15, allocations: 305.1 kB / 0.7613 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003526/1.154, allocations: 3.176 MB / 0.7644 GB, free: 141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004863/1.159, allocations: 7.044 MB / 0.7712 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.169, allocations: 10.95 MB / 0.7819 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-05/1.169, allocations: 40 kB / 0.782 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02486/1.194, allocations: 13.71 MB / 0.7954 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/1.194, allocations: 67.98 kB / 0.7954 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002249/1.194, allocations: 132 kB / 0.7955 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/1.205, allocations: 4.393 MB / 0.7998 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004454/1.21, allocations: 1.478 MB / 0.8013 GB, free: 99.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03408/1.244, allocations: 28.72 MB / 0.8293 GB, free: 70.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006245/1.25, allocations: 415.4 kB / 0.8297 GB, free: 70.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/1.251, allocations: 408 kB / 0.8301 GB, free: 69.65 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.0052/1.257, allocations: 2.464 MB / 0.8325 GB, free: 67.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/1.258, allocations: 460.9 kB / 0.833 GB, free: 66.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/1.274, allocations: 8.42 MB / 0.8412 GB, free: 58.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.017e-05/1.274, allocations: 39.69 kB / 0.8412 GB, free: 58.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.702e-05/1.274, allocations: 15.94 kB / 0.8412 GB, free: 58.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.134e-05/1.274, allocations: 11.95 kB / 0.8412 GB, free: 58.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03104/1.305, allocations: 16.83 MB / 0.8577 GB, free: 41.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.462e-05/1.305, allocations: 4 kB / 0.8577 GB, free: 41.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/1.307, allocations: 299.6 kB / 0.858 GB, free: 40.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009234/1.316, allocations: 3.965 MB / 0.8618 GB, free: 37.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005016/1.316, allocations: 48 kB / 0.8619 GB, free: 36.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03144/1.348, allocations: 27.49 MB / 0.8887 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.348, allocations: 15.92 kB / 0.8887 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02172/1.37, allocations: 12.4 MB / 0.9009 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.371, allocations: 444.1 kB / 0.9013 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.372, allocations: 47.94 kB / 0.9013 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.375, allocations: 175.8 kB / 0.9015 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009828/1.376, allocations: 197.9 kB / 0.9017 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003452/1.377, allocations: 68 kB / 0.9017 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005962/1.382, allocations: 3.009 MB / 0.9047 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.382, allocations: 0 / 0.9047 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007667/1.39, allocations: 1.453 MB / 0.9061 GB, free: 7.203 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.0007443/1.391, allocations: 190.2 kB / 0.9063 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01596/1.407, allocations: 8.154 MB / 0.9143 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.407, allocations: 0 / 0.9143 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007267/1.414, allocations: 3.324 MB / 0.9175 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006781/1.421, allocations: 0.5756 MB / 0.9181 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.448, allocations: 12.7 MB / 0.9305 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007206/1.455, allocations: 3.915 MB / 0.9343 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005693/1.461, allocations: 1.991 MB / 0.9362 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.462, allocations: 287.4 kB / 0.9365 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/1.462, allocations: 0 / 0.9365 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of Templates: time 0.4082/1.87, allocations: 74.9 MB / 1.01 GB, free: 194.5 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 -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/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_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.014158028876409]