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.0009462/0.0009462, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0009901/0.0009901, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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 0.9894/0.9894, allocations: 177.2 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] 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.2874/0.2874, allocations: 34.25 MB / 295.7 MB, free: 0.7109 MB / 266.7 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.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 2.094e-06/2.094e-06, allocations: 3.938 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.413e-05, allocations: 6.312 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.00905/0.009074, allocations: 11.63 MB / 389.7 MB, free: 6.992 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007204/0.01628, allocations: 4.24 MB / 393.9 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01733, allocations: 91.5 kB / 394 MB, free: 2.648 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.0203, allocations: 2.92 MB / 396.9 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.0235, allocations: 2.123 MB / 399 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.02478, allocations: 1.021 MB / 400.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004788/0.02957, allocations: 6.407 MB / 406.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.03239, allocations: 3.447 MB / 409.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.03496, allocations: 2.647 MB / 412.6 MB, free: 0 / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.03744, allocations: 2.868 MB / 415.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004777/0.03791, allocations: 396 kB / 415.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.03943, allocations: 1.357 MB / 417.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.04076, allocations: 2.357 MB / 419.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.04181, allocations: 1.457 MB / 421 MB, free: 7.551 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.0457, allocations: 5.353 MB / 426.3 MB, free: 2.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.0457, allocations: 0 / 426.3 MB, free: 2.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0457, allocations: 0 / 426.3 MB, free: 2.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.663e-05/0.04574, allocations: 0 / 426.3 MB, free: 2.18 MB / 394.7 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.006091/0.05183, allocations: 6.001 MB / 432.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.05187, allocations: 8.031 kB / 432.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006064/0.05794, allocations: 3.009 MB / 435.3 MB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.06145, allocations: 2.967 MB / 438.3 MB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.06158, allocations: 242.5 kB / 438.6 MB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.06199, allocations: 332.3 kB / 438.9 MB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1767/0.2387, allocations: 6.699 MB / 445.6 MB, free: 88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.2389, allocations: 53.05 kB / 445.6 MB, free: 88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.2392, allocations: 154.7 kB / 445.8 MB, free: 88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001789/0.241, allocations: 2.002 MB / 447.8 MB, free: 88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007719/0.2487, allocations: 3.881 MB / 451.7 MB, free: 87.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.274, allocations: 44.91 MB / 496.6 MB, free: 52.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00609/0.2801, allocations: 2.305 MB / 498.9 MB, free: 52.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.2811, allocations: 0.6806 MB / 499.6 MB, free: 52.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006306/0.2874, allocations: 4.694 MB / 0.4924 GB, free: 49.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.2875, allocations: 63.81 kB / 0.4925 GB, free: 49.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 4.187e-06/0.2875, allocations: 2.031 kB / 0.4925 GB, free: 49.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.05958/0.3471, allocations: 24.58 MB / 0.5165 GB, free: 39.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3471, allocations: 201.9 kB / 0.5167 GB, free: 39.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/0.3503, allocations: 3.685 MB / 0.5203 GB, free: 35.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.3504, allocations: 62.88 kB / 0.5204 GB, free: 35.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.3515, allocations: 3.466 MB / 0.5237 GB, free: 32.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005285/0.3521, allocations: 0.9422 MB / 0.5247 GB, free: 31.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.3532, allocations: 1.408 MB / 0.526 GB, free: 29.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.3533, allocations: 476.8 kB / 0.5265 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.3548, allocations: 1.321 MB / 0.5278 GB, free: 28.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002829/0.3576, allocations: 6.78 MB / 0.5344 GB, free: 18.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005237/0.3629, allocations: 8.868 MB / 0.5431 GB, free: 7.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.699e-05/0.3629, allocations: 36 kB / 0.5431 GB, free: 7.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01716/0.3801, allocations: 10.4 MB / 0.5533 GB, free: 13.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.3801, allocations: 63.94 kB / 0.5533 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.209e-05/0.3802, allocations: 132.2 kB / 0.5534 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0134/0.3936, allocations: 5.216 MB / 0.5585 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/0.3965, allocations: 1.486 MB / 0.56 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.4103, allocations: 9.917 MB / 0.5697 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005123/0.4154, allocations: 467.4 kB / 0.5701 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005942/0.416, allocations: 387.9 kB / 0.5705 GB, free: 11.23 MB / 442.7 MB 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 (778): * Single equations (assignments): 773 * 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.001745/0.4178, allocations: 0.6769 MB / 0.5711 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006886/0.4185, allocations: 437.5 kB / 0.5716 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.4325, allocations: 6.709 MB / 0.5781 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/0.4325, allocations: 31.98 kB / 0.5781 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.4325, allocations: 11.94 kB / 0.5782 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4326, allocations: 11.97 kB / 0.5782 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/0.4543, allocations: 13.65 MB / 0.5915 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.4543, allocations: 8 kB / 0.5915 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.4554, allocations: 387.4 kB / 0.5919 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01181/0.4672, allocations: 4.684 MB / 0.5964 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.4674, allocations: 40 kB / 0.5965 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.4782, allocations: 8.707 MB / 0.605 GB, free: 7.195 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.4782, allocations: 14.19 kB / 0.605 GB, free: 7.184 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1932/0.6714, allocations: 7.611 MB / 0.6124 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.6726, allocations: 380.9 kB / 0.6128 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006039/0.6732, allocations: 41.12 kB / 0.6128 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.6747, allocations: 229 kB / 0.6131 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004796/0.6752, allocations: 159.4 kB / 0.6132 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.6753, allocations: 62.11 kB / 0.6133 GB, free: 133 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001937/0.6772, allocations: 1.628 MB / 0.6149 GB, free: 132.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6772, allocations: 3.844 kB / 0.6149 GB, free: 132.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004205/0.6814, allocations: 1.487 MB / 0.6163 GB, free: 132.8 MB / 474.7 MB 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.0005067/0.6819, allocations: 201.7 kB / 0.6165 GB, free: 132.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005903/0.6879, allocations: 4.648 MB / 0.621 GB, free: 132.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6879, allocations: 0 / 0.621 GB, free: 132.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.6898, allocations: 1.673 MB / 0.6227 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.6914, allocations: 462.5 kB / 0.6231 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.7015, allocations: 9.258 MB / 0.6322 GB, free: 128.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.7026, allocations: 1.373 MB / 0.6335 GB, free: 128.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002338/0.7049, allocations: 1.598 MB / 0.6351 GB, free: 128.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/0.7056, allocations: 251 kB / 0.6353 GB, free: 128.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.903e-06/0.7056, allocations: 0 / 0.6353 GB, free: 128.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07034/0.776, allocations: 67.4 MB / 0.7011 GB, free: 85.83 MB / 474.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.946136057842523]