Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.000885/0.000885, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003707/0.003707, allocations: 161.2 kB / 24.7 MB, free: 9.426 MB / 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.8513/0.8513, allocations: 177.2 MB / 205 MB, free: 5.719 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.216/0.216, allocations: 34.25 MB / 295.7 MB, free: 0.7031 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.514e-05, allocations: 9.234 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.1987/0.1987, allocations: 13.04 MB / 456.5 MB, free: 36.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006711/0.2054, allocations: 4.621 MB / 461.1 MB, free: 33.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.2065, allocations: 109 kB / 461.2 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.2091, allocations: 3.233 MB / 464.4 MB, free: 32.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.212, allocations: 2.692 MB / 467.1 MB, free: 31.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2132, allocations: 1.093 MB / 468.2 MB, free: 30.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004198/0.2174, allocations: 7.819 MB / 476 MB, free: 27.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.2198, allocations: 4.102 MB / 480.1 MB, free: 26.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.2222, allocations: 3.373 MB / 483.5 MB, free: 24.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003184/0.2254, allocations: 3.586 MB / 487.1 MB, free: 23.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006121/0.226, allocations: 497.6 kB / 487.6 MB, free: 23.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.2279, allocations: 1.477 MB / 489.1 MB, free: 23.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001941/0.2298, allocations: 3.045 MB / 492.1 MB, free: 22.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.2314, allocations: 1.856 MB / 494 MB, free: 21.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008498/0.2399, allocations: 10.55 MB / 0.4927 GB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2399, allocations: 0.9062 kB / 0.4927 GB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2399, allocations: 0 / 0.4927 GB, free: 15.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001735/0.24, allocations: 1.125 kB / 0.4927 GB, free: 15.93 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.0108/0.2508, allocations: 7.42 MB / 0.4999 GB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2509, allocations: 9.562 kB / 0.4999 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008298/0.2592, allocations: 4.069 MB / 0.5039 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005391/0.2646, allocations: 4.063 MB / 0.5079 GB, free: 3.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.953e-05/0.2647, allocations: 320.4 kB / 0.5082 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005598/0.2652, allocations: 436.2 kB / 0.5086 GB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/0.2807, allocations: 15.83 MB / 0.5241 GB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-05/0.2808, allocations: 55.53 kB / 0.5241 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/0.2812, allocations: 203.8 kB / 0.5243 GB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003006/0.2842, allocations: 3.223 MB / 0.5275 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/0.301, allocations: 14.14 MB / 0.5413 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04914/0.3501, allocations: 53.78 MB / 0.5938 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008514/0.3586, allocations: 5.561 MB / 0.5992 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00314/0.3618, allocations: 3.396 MB / 0.6025 GB, free: 500 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/0.3756, allocations: 12.36 MB / 0.6146 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.3757, allocations: 64.5 kB / 0.6147 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=292): time 7.134e-06/0.3757, allocations: 0 / 0.6147 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of matching and sorting (n=342): time 0.2928/0.6685, allocations: 43.65 MB / 0.6573 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.6686, allocations: 219.3 kB / 0.6575 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/0.6735, allocations: 5.372 MB / 0.6627 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005321/0.674, allocations: 76.36 kB / 0.6628 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.6755, allocations: 4.504 MB / 0.6672 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009047/0.6764, allocations: 1.303 MB / 0.6685 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001931/0.6783, allocations: 1.834 MB / 0.6703 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.057e-05/0.6784, allocations: 306.2 kB / 0.6706 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004718/0.6831, allocations: 4.829 MB / 0.6753 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006963/0.69, allocations: 9.86 MB / 0.6849 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/0.7032, allocations: 15.61 MB / 0.7002 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001745/0.7034, allocations: 50.47 kB / 0.7002 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.02614/0.7295, allocations: 19.55 MB / 0.7193 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.7296, allocations: 76 kB / 0.7194 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/0.7297, allocations: 176 kB / 0.7195 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.7406, allocations: 5.934 MB / 0.7253 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004635/0.7452, allocations: 2.117 MB / 0.7274 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/0.7633, allocations: 25.73 MB / 0.7525 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006476/0.7698, allocations: 0.6268 MB / 0.7531 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/0.7708, allocations: 0.5116 MB / 0.7536 GB, free: 68.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1095): * Single equations (assignments): 1087 * Array equations: 6 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004766/0.7756, allocations: 3.091 MB / 0.7567 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008969/0.7765, allocations: 484.7 kB / 0.7571 GB, free: 64.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.7921, allocations: 12.94 MB / 0.7697 GB, free: 51.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-05/0.7921, allocations: 51.98 kB / 0.7698 GB, free: 51.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.7922, allocations: 8 kB / 0.7698 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/0.7922, allocations: 15.95 kB / 0.7698 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/0.8188, allocations: 22.42 MB / 0.7917 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.8188, allocations: 4 kB / 0.7917 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.8203, allocations: 0.585 MB / 0.7923 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009281/0.8296, allocations: 4.966 MB / 0.7971 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003045/0.8299, allocations: 60 kB / 0.7972 GB, free: 23.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/0.8446, allocations: 20.93 MB / 0.8176 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.8446, allocations: 11.47 kB / 0.8176 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/0.8663, allocations: 17.53 MB / 0.8348 GB, free: 368 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.8678, allocations: 480.8 kB / 0.8352 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004862/0.8683, allocations: 55.19 kB / 0.8353 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/0.87, allocations: 313.5 kB / 0.8356 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005099/0.8705, allocations: 201.3 kB / 0.8358 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/0.8707, allocations: 91.92 kB / 0.8359 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.2135/1.084, allocations: 3.123 MB / 0.8389 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/1.084, allocations: 0 / 0.8389 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007868/1.092, allocations: 1.867 MB / 0.8407 GB, free: 168.9 MB / 0.5573 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 (257): * Single equations (assignments): 249 * Array equations: 6 * 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 {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005489/1.093, allocations: 226.7 kB / 0.8409 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.103, allocations: 10.55 MB / 0.8512 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.103, allocations: 0 / 0.8512 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00328/1.106, allocations: 3.818 MB / 0.855 GB, free: 164.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/1.109, allocations: 0.5148 MB / 0.8555 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/1.129, allocations: 16.88 MB / 0.872 GB, free: 157.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00402/1.133, allocations: 4.101 MB / 0.876 GB, free: 156 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/1.135, allocations: 398.7 kB / 0.8763 GB, free: 156 MB / 0.5573 GB Notification: Performance of SimCode: time 2.235e-06/1.135, allocations: 0 / 0.8763 GB, free: 156 MB / 0.5573 GB Notification: Performance of Templates: time 0.1143/1.249, allocations: 151.6 MB / 1.024 GB, free: 22.65 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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: 10.979836714453995]