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.001934/0.001934, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001991/0.001991, allocations: 165.3 kB / 24.28 MB, free: 148 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 1.691/1.691, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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.3608/0.3608, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 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 2.214e-06/2.214e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.712e-05/3.933e-05, allocations: 6.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01929/0.01933, allocations: 12.87 MB / 390.1 MB, free: 6.051 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.03075, allocations: 4.723 MB / 394.9 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.03336, allocations: 111.4 kB / 395 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008787/0.04215, allocations: 3.995 MB / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006983/0.04913, allocations: 2.301 MB / 401.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.05236, allocations: 1.189 MB / 402.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.0645, allocations: 7.72 MB / 410.2 MB, free: 1.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007733/0.07224, allocations: 4.427 MB / 414.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007908/0.08014, allocations: 3.196 MB / 417.8 MB, free: 10.26 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006851/0.087, allocations: 3.235 MB / 421 MB, free: 7.016 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001703/0.0887, allocations: 444 kB / 421.5 MB, free: 6.582 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004256/0.09295, allocations: 1.397 MB / 422.9 MB, free: 5.184 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004681/0.09764, allocations: 2.673 MB / 425.5 MB, free: 2.504 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004109/0.1017, allocations: 1.655 MB / 427.2 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01467/0.1164, allocations: 8.972 MB / 436.2 MB, free: 7.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1164, allocations: 0 / 436.2 MB, free: 7.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1164, allocations: 4 kB / 436.2 MB, free: 7.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003213/0.1167, allocations: 4 kB / 436.2 MB, free: 7.836 MB / 410.7 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.02253/0.1393, allocations: 7.389 MB / 443.6 MB, free: 384 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1393, allocations: 12.03 kB / 443.6 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2393/0.3786, allocations: 3.088 MB / 446.7 MB, free: 97.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009628/0.3882, allocations: 3.5 MB / 450.2 MB, free: 96.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.3885, allocations: 281.6 kB / 450.4 MB, free: 96.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.3904, allocations: 385.7 kB / 450.8 MB, free: 96.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/0.4095, allocations: 7.852 MB / 458.7 MB, free: 92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002552/0.4097, allocations: 58.02 kB / 458.7 MB, free: 91.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007829/0.4105, allocations: 179.4 kB / 458.9 MB, free: 91.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003199/0.4137, allocations: 2.143 MB / 461 MB, free: 91.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.4292, allocations: 4.478 MB / 465.5 MB, free: 90.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0676/0.4968, allocations: 54.95 MB / 0.5083 GB, free: 47.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.5099, allocations: 3.278 MB / 0.5115 GB, free: 44.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.5122, allocations: 0.9311 MB / 0.5124 GB, free: 43.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/0.5265, allocations: 5.701 MB / 0.518 GB, free: 38.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.5266, allocations: 62.58 kB / 0.518 GB, free: 38.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 5.029e-06/0.5266, allocations: 4 kB / 0.518 GB, free: 38.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.1059/0.6325, allocations: 27.32 MB / 0.5447 GB, free: 11.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.6326, allocations: 205.9 kB / 0.5449 GB, free: 11.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007791/0.6403, allocations: 5.124 MB / 0.5499 GB, free: 6.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006314/0.641, allocations: 65.7 kB / 0.55 GB, free: 6.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002095/0.6431, allocations: 4.098 MB / 0.554 GB, free: 2.168 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001282/0.6444, allocations: 1.121 MB / 0.5551 GB, free: 1.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002971/0.6473, allocations: 1.785 MB / 0.5568 GB, free: 15.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.6476, allocations: 476.8 kB / 0.5573 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/0.6506, allocations: 1.083 MB / 0.5583 GB, free: 13.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009913/0.6605, allocations: 7.076 MB / 0.5652 GB, free: 4.004 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01556/0.6761, allocations: 9.034 MB / 0.574 GB, free: 8.391 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003353/0.6764, allocations: 40 kB / 0.5741 GB, free: 8.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02843/0.7048, allocations: 8.737 MB / 0.5826 GB, free: 15.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.705, allocations: 64 kB / 0.5827 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002042/0.7052, allocations: 132 kB / 0.5828 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01517/0.7203, allocations: 3.678 MB / 0.5864 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005354/0.7257, allocations: 1.489 MB / 0.5878 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03166/0.7574, allocations: 14.03 MB / 0.6016 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006606/0.764, allocations: 499.3 kB / 0.602 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/0.7653, allocations: 414.1 kB / 0.6024 GB, free: 10.94 MB / 474.7 MB 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.002919/0.7683, allocations: 0.8058 MB / 0.6032 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/0.7697, allocations: 493.2 kB / 0.6037 GB, free: 9.633 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/0.7856, allocations: 4.641 MB / 0.6082 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.516e-05/0.7857, allocations: 24 kB / 0.6082 GB, free: 4.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-05/0.7858, allocations: 20 kB / 0.6083 GB, free: 4.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.686e-05/0.7858, allocations: 11.95 kB / 0.6083 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2438/1.03, allocations: 11.84 MB / 0.6198 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/1.03, allocations: 5.625 kB / 0.6198 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.031, allocations: 301.3 kB / 0.6201 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0115/1.043, allocations: 3.277 MB / 0.6233 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004974/1.043, allocations: 49.59 kB / 0.6234 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02341/1.067, allocations: 13.07 MB / 0.6361 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.067, allocations: 5.875 kB / 0.6361 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01733/1.084, allocations: 6.15 MB / 0.6421 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/1.086, allocations: 430.7 kB / 0.6426 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/1.088, allocations: 46.09 kB / 0.6426 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003654/1.091, allocations: 236.4 kB / 0.6428 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001176/1.092, allocations: 205.7 kB / 0.643 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004293/1.093, allocations: 74.34 kB / 0.6431 GB, free: 126.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005261/1.098, allocations: 2.16 MB / 0.6452 GB, free: 126 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.098, allocations: 0 / 0.6452 GB, free: 126 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01034/1.109, allocations: 1.585 MB / 0.6468 GB, free: 125.9 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 (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.001091/1.11, allocations: 206 kB / 0.6469 GB, free: 125.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01439/1.124, allocations: 5.52 MB / 0.6523 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.124, allocations: 1.344 kB / 0.6523 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00559/1.13, allocations: 2.349 MB / 0.6546 GB, free: 122.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00546/1.135, allocations: 0.5379 MB / 0.6552 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/1.158, allocations: 10.08 MB / 0.665 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006491/1.164, allocations: 3.094 MB / 0.668 GB, free: 116.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004545/1.169, allocations: 1.679 MB / 0.6697 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.17, allocations: 274.9 kB / 0.6699 GB, free: 115.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/1.17, allocations: 0 / 0.6699 GB, free: 115.4 MB / 474.7 MB Notification: Performance of Templates: time 0.09758/1.268, allocations: 67.84 MB / 0.7362 GB, free: 50.29 MB / 474.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] 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: 8.33479651203379]