Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001052/0.001052, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004436/0.004436, allocations: 160.7 kB / 24.7 MB, free: 9.43 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.8594/0.8594, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 3.938 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.671e-05, allocations: 4.109 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2038/0.2038, allocations: 13.05 MB / 453.9 MB, free: 39.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.21, allocations: 4.614 MB / 458.5 MB, free: 36.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007261/0.2108, allocations: 110.3 kB / 458.6 MB, free: 36.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.2132, allocations: 3.238 MB / 461.8 MB, free: 35.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.2158, allocations: 2.689 MB / 464.5 MB, free: 33.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.2168, allocations: 1.095 MB / 465.6 MB, free: 33.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004015/0.2209, allocations: 7.813 MB / 473.4 MB, free: 30.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.2232, allocations: 4.1 MB / 477.5 MB, free: 28.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002307/0.2255, allocations: 3.383 MB / 480.9 MB, free: 27.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003386/0.2288, allocations: 3.591 MB / 484.5 MB, free: 26.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006368/0.2295, allocations: 496.7 kB / 485 MB, free: 26.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.2317, allocations: 1.477 MB / 486.5 MB, free: 26.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002895/0.2346, allocations: 3.041 MB / 489.5 MB, free: 24.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.2362, allocations: 1.856 MB / 491.4 MB, free: 23.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009966/0.2462, allocations: 10.55 MB / 0.4902 GB, free: 18.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2462, allocations: 1.25 kB / 0.4902 GB, free: 18.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2462, allocations: 0 / 0.4902 GB, free: 18.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002002/0.2464, allocations: 7.922 kB / 0.4902 GB, free: 18.79 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.01251/0.2589, allocations: 7.417 MB / 0.4974 GB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.2589, allocations: 13.34 kB / 0.4974 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008771/0.2677, allocations: 4.066 MB / 0.5014 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/0.273, allocations: 4.063 MB / 0.5054 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.2731, allocations: 328.3 kB / 0.5057 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005625/0.2736, allocations: 432.2 kB / 0.5061 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/0.2894, allocations: 15.81 MB / 0.5215 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.2895, allocations: 71.45 kB / 0.5216 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004218/0.2899, allocations: 203.8 kB / 0.5218 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002876/0.2928, allocations: 3.212 MB / 0.5249 GB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.31, allocations: 14.14 MB / 0.5387 GB, free: 4.547 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0493/0.3593, allocations: 53.76 MB / 0.5912 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008747/0.368, allocations: 5.575 MB / 0.5967 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/0.3712, allocations: 3.391 MB / 0.6 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01411/0.3853, allocations: 12.37 MB / 0.6121 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.3853, allocations: 72.44 kB / 0.6121 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=292): time 5.08e-06/0.3853, allocations: 0 / 0.6121 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=342): time 0.2795/0.6648, allocations: 43.65 MB / 0.6548 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.6649, allocations: 212.9 kB / 0.655 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005372/0.6703, allocations: 5.364 MB / 0.6602 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005713/0.6708, allocations: 70.92 kB / 0.6603 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.6722, allocations: 4.511 MB / 0.6647 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008493/0.673, allocations: 1.308 MB / 0.666 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/0.6747, allocations: 1.834 MB / 0.6678 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.967e-05/0.6748, allocations: 308 kB / 0.6681 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005386/0.6801, allocations: 4.826 MB / 0.6728 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007483/0.6876, allocations: 9.86 MB / 0.6824 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/0.7008, allocations: 15.61 MB / 0.6976 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.819e-05/0.7008, allocations: 48.91 kB / 0.6977 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.0246/0.7254, allocations: 19.54 MB / 0.7168 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/0.7255, allocations: 80 kB / 0.7168 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.399e-05/0.7256, allocations: 172 kB / 0.717 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/0.7365, allocations: 5.943 MB / 0.7228 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/0.7407, allocations: 2.117 MB / 0.7249 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/0.7584, allocations: 25.74 MB / 0.75 GB, free: 75.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/0.7641, allocations: 0.6163 MB / 0.7506 GB, free: 75.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005132/0.7646, allocations: 0.5078 MB / 0.7511 GB, free: 74.54 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.003956/0.7686, allocations: 3.102 MB / 0.7541 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/0.7691, allocations: 480.8 kB / 0.7546 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/0.7846, allocations: 12.94 MB / 0.7672 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/0.7846, allocations: 55.75 kB / 0.7673 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.7846, allocations: 12 kB / 0.7673 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.7846, allocations: 15.94 kB / 0.7673 GB, free: 57.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/0.8107, allocations: 22.41 MB / 0.7892 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.8107, allocations: 8.094 kB / 0.7892 GB, free: 35.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.8124, allocations: 0.585 MB / 0.7898 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009849/0.8222, allocations: 4.966 MB / 0.7946 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004391/0.8227, allocations: 58.25 kB / 0.7947 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/0.8386, allocations: 20.92 MB / 0.8151 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8386, allocations: 4 kB / 0.8151 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/0.8608, allocations: 17.53 MB / 0.8322 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/0.8624, allocations: 477.7 kB / 0.8327 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005937/0.863, allocations: 59.45 kB / 0.8328 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/0.865, allocations: 310.2 kB / 0.833 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005143/0.8655, allocations: 205.5 kB / 0.8332 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.8657, allocations: 84 kB / 0.8333 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.2313/1.097, allocations: 3.125 MB / 0.8364 GB, free: 154.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.41e-07/1.097, allocations: 0 / 0.8364 GB, free: 154.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008852/1.106, allocations: 1.876 MB / 0.8382 GB, free: 154.6 MB / 0.5417 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.0005702/1.106, allocations: 216.3 kB / 0.8384 GB, free: 154.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.117, allocations: 10.55 MB / 0.8487 GB, free: 152.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.117, allocations: 4.781 kB / 0.8487 GB, free: 152.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003297/1.121, allocations: 3.811 MB / 0.8524 GB, free: 150.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.123, allocations: 0.5265 MB / 0.853 GB, free: 150.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.144, allocations: 16.88 MB / 0.8694 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004117/1.148, allocations: 4.096 MB / 0.8734 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/1.15, allocations: 406.1 kB / 0.8738 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.303e-06/1.15, allocations: 0 / 0.8738 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.1176/1.268, allocations: 151.6 MB / 1.022 GB, free: 11.47 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.330035703256726]