Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001624/0.001624, allocations: 113.1 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.001814/0.001814, allocations: 217.2 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2387/0.2387, allocations: 46.95 MB / 360.9 MB, free: 4.25 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 67.89 kB / 0.4966 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3552, allocations: 66.03 MB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.0144/0.3696, allocations: 12.09 MB / 0.5729 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009424/0.379, allocations: 4.367 MB / 0.5772 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.3811, allocations: 91.5 kB / 0.5773 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005853/0.3869, allocations: 2.78 MB / 0.58 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005923/0.3928, allocations: 2.047 MB / 0.582 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.3953, allocations: 0.9047 MB / 0.5829 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009359/0.4046, allocations: 5.681 MB / 0.5884 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004867/0.4095, allocations: 2.818 MB / 0.5912 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.4135, allocations: 1.748 MB / 0.5929 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.4184, allocations: 2.714 MB / 0.5955 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.4198, allocations: 388 kB / 0.5959 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/0.4234, allocations: 1.432 MB / 0.5973 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003371/0.4267, allocations: 2.248 MB / 0.5995 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004777/0.4315, allocations: 2.42 MB / 0.6019 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.4439, allocations: 7.888 MB / 0.6096 GB, free: 2.594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4439, allocations: 0 / 0.6096 GB, free: 2.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.4439, allocations: 0 / 0.6096 GB, free: 2.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002932/0.4442, allocations: 0 / 0.6096 GB, free: 2.594 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01629/0.4605, allocations: 5.555 MB / 0.615 GB, free: 12.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4605, allocations: 8.031 kB / 0.615 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/0.4731, allocations: 2.509 MB / 0.6175 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.4843, allocations: 3.289 MB / 0.6207 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/0.4846, allocations: 242.5 kB / 0.6209 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002126/0.4867, allocations: 331.7 kB / 0.6212 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02763/0.5144, allocations: 10.88 MB / 0.6318 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004644/0.5148, allocations: 55.58 kB / 0.6319 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001787/0.5166, allocations: 155.8 kB / 0.632 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003665/0.5203, allocations: 1.994 MB / 0.634 GB, free: 8.711 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.5416, allocations: 9.452 MB / 0.6432 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06124/0.6028, allocations: 40.98 MB / 0.6832 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/0.6143, allocations: 3.651 MB / 0.6868 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003139/0.6175, allocations: 1.771 MB / 0.6885 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01508/0.6326, allocations: 6.258 MB / 0.6946 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.906e-05/0.6326, allocations: 55.5 kB / 0.6947 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 5.37e-06/0.6326, allocations: 0 / 0.6947 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.1754/0.8081, allocations: 40.96 MB / 0.7347 GB, free: 200 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3334/1.141, allocations: 201.9 kB / 0.7349 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008081/1.15, allocations: 4.312 MB / 0.7391 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007554/1.15, allocations: 61.58 kB / 0.7392 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.152, allocations: 3.293 MB / 0.7424 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.154, allocations: 0.9162 MB / 0.7433 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00202/1.156, allocations: 1.364 MB / 0.7446 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.329e-05/1.156, allocations: 309.1 kB / 0.7449 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004595/1.16, allocations: 3.633 MB / 0.7485 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006963/1.167, allocations: 7.29 MB / 0.7556 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/1.179, allocations: 11.63 MB / 0.7669 GB, free: 135 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.559e-05/1.179, allocations: 36 kB / 0.767 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03552/1.215, allocations: 16.18 MB / 0.7828 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.761e-05/1.215, allocations: 60 kB / 0.7828 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/1.215, allocations: 128.9 kB / 0.7829 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02165/1.237, allocations: 6.232 MB / 0.789 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005991/1.243, allocations: 1.497 MB / 0.7905 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03203/1.275, allocations: 27.41 MB / 0.8173 GB, free: 83.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005915/1.281, allocations: 414.2 kB / 0.8177 GB, free: 83.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/1.282, allocations: 384 kB / 0.818 GB, free: 83.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (779): * Single equations (assignments): 774 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004501/1.286, allocations: 2.233 MB / 0.8202 GB, free: 81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.287, allocations: 417.2 kB / 0.8206 GB, free: 80.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02719/1.315, allocations: 11.25 MB / 0.8316 GB, free: 69.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-05/1.315, allocations: 24 kB / 0.8316 GB, free: 69.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/1.315, allocations: 12 kB / 0.8316 GB, free: 69.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.102e-05/1.315, allocations: 7.969 kB / 0.8316 GB, free: 69.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04583/1.361, allocations: 20.58 MB / 0.8517 GB, free: 48.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.215e-05/1.361, allocations: 15.97 kB / 0.8517 GB, free: 48.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.363, allocations: 383.4 kB / 0.8521 GB, free: 47.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01941/1.382, allocations: 5.308 MB / 0.8573 GB, free: 42.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006887/1.383, allocations: 48.81 kB / 0.8573 GB, free: 42.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0272/1.41, allocations: 22.49 MB / 0.8793 GB, free: 19.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.41, allocations: 7.938 kB / 0.8793 GB, free: 19.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03054/1.441, allocations: 14.59 MB / 0.8936 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.442, allocations: 393.1 kB / 0.8939 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.443, allocations: 40 kB / 0.894 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/1.447, allocations: 187.7 kB / 0.8941 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/1.448, allocations: 160.1 kB / 0.8943 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004048/1.448, allocations: 64 kB / 0.8944 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004923/1.453, allocations: 2.701 MB / 0.897 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.453, allocations: 0 / 0.897 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007945/1.461, allocations: 1.359 MB / 0.8983 GB, free: 192 kB / 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 (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009153/1.462, allocations: 187.7 kB / 0.8985 GB, free: 0 / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01596/1.478, allocations: 8.019 MB / 0.9063 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.478, allocations: 320 / 0.9063 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00609/1.484, allocations: 2.994 MB / 0.9093 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005103/1.489, allocations: 0.4993 MB / 0.9097 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/1.514, allocations: 12.06 MB / 0.9215 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006352/1.52, allocations: 3.499 MB / 0.9249 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005902/1.526, allocations: 1.96 MB / 0.9268 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/1.528, allocations: 275.3 kB / 0.9271 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of SimCode: time 1.382e-06/1.528, allocations: 0 / 0.9271 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of Templates: time 0.4326/1.961, allocations: 72.15 MB / 0.9976 GB, free: 211.5 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.089323047082871]