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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 112.6 kB / 21.1 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 187.5 kB / 24.36 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 253 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2313/0.2313, allocations: 44.91 MB / 353.2 MB, free: 11.87 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002127/0.002127, allocations: 71.88 kB / 497.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 64.29 MB / 0.5484 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01891/0.3955, allocations: 14.99 MB / 0.5631 GB, free: 412 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.4082, allocations: 4.844 MB / 0.5678 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003394/0.4116, allocations: 107.5 kB / 0.5679 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009409/0.421, allocations: 3.216 MB / 0.571 GB, free: 8.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.4318, allocations: 2.646 MB / 0.5736 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.4356, allocations: 0.9905 MB / 0.5746 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01662/0.4522, allocations: 6.99 MB / 0.5814 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007282/0.4595, allocations: 3.229 MB / 0.5846 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006639/0.4661, allocations: 2.266 MB / 0.5868 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008906/0.475, allocations: 3.54 MB / 0.5902 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002789/0.4778, allocations: 484 kB / 0.5907 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005797/0.4836, allocations: 1.408 MB / 0.5921 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006317/0.4899, allocations: 2.953 MB / 0.595 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008216/0.4981, allocations: 3.254 MB / 0.5981 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02102/0.5191, allocations: 10.54 MB / 0.6084 GB, free: 1.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.5192, allocations: 4 kB / 0.6084 GB, free: 1.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5192, allocations: 4 kB / 0.6084 GB, free: 1.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003945/0.5196, allocations: 0 / 0.6084 GB, free: 1.734 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02382/0.5434, allocations: 7.427 MB / 0.6157 GB, free: 10.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.5434, allocations: 12.92 kB / 0.6157 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/0.5605, allocations: 3.963 MB / 0.6196 GB, free: 6.238 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.5724, allocations: 4.114 MB / 0.6236 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.5727, allocations: 320.4 kB / 0.6239 GB, free: 1.754 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/0.5744, allocations: 443.6 kB / 0.6243 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03109/0.6054, allocations: 15.81 MB / 0.6398 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001715/0.6056, allocations: 55.52 kB / 0.6398 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006709/0.6063, allocations: 203.8 kB / 0.64 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005661/0.6119, allocations: 3.216 MB / 0.6432 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03269/0.6446, allocations: 14.16 MB / 0.657 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/0.7453, allocations: 57.22 MB / 0.7129 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/0.7606, allocations: 5.384 MB / 0.7181 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006075/0.7667, allocations: 3.391 MB / 0.7214 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3679/1.135, allocations: 12.78 MB / 0.7339 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/1.135, allocations: 68.97 kB / 0.734 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 5.48e-06/1.135, allocations: 0.5 kB / 0.734 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.1439/1.279, allocations: 42.72 MB / 0.7757 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/1.279, allocations: 213.9 kB / 0.7759 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009593/1.288, allocations: 5.486 MB / 0.7813 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000926/1.289, allocations: 77.22 kB / 0.7813 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002658/1.292, allocations: 4.517 MB / 0.7857 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.293, allocations: 1.33 MB / 0.787 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002642/1.296, allocations: 1.865 MB / 0.7889 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/1.296, allocations: 305.1 kB / 0.7891 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005596/1.302, allocations: 4.839 MB / 0.7939 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007475/1.309, allocations: 9.874 MB / 0.8035 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/1.324, allocations: 15.62 MB / 0.8188 GB, free: 86.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/1.324, allocations: 52 kB / 0.8188 GB, free: 86.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04114/1.365, allocations: 19.61 MB / 0.838 GB, free: 66.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002578/1.365, allocations: 80 kB / 0.838 GB, free: 66.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003214/1.366, allocations: 172 kB / 0.8382 GB, free: 66.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02077/1.387, allocations: 5.945 MB / 0.844 GB, free: 60.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00716/1.394, allocations: 2.129 MB / 0.8461 GB, free: 58.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03057/1.424, allocations: 25.95 MB / 0.8714 GB, free: 32.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008988/1.433, allocations: 0.5658 MB / 0.872 GB, free: 31.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002087/1.435, allocations: 0.5097 MB / 0.8725 GB, free: 31.04 MB / 0.5606 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 (1099): * Single equations (assignments): 1091 * 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.008378/1.444, allocations: 3.098 MB / 0.8755 GB, free: 27.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/1.446, allocations: 0.5161 MB / 0.876 GB, free: 27.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02927/1.475, allocations: 12.98 MB / 0.8887 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.102e-05/1.475, allocations: 51.98 kB / 0.8887 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/1.475, allocations: 8 kB / 0.8888 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-05/1.475, allocations: 15.95 kB / 0.8888 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06152/1.537, allocations: 24.57 MB / 0.9128 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.476e-05/1.537, allocations: 8 kB / 0.9128 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003653/1.54, allocations: 0.5856 MB / 0.9133 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0205/1.561, allocations: 4.958 MB / 0.9182 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008353/1.562, allocations: 59.98 kB / 0.9182 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03526/1.597, allocations: 21.14 MB / 0.9389 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.938e-05/1.597, allocations: 11.94 kB / 0.9389 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04458/1.642, allocations: 17.59 MB / 0.9561 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.644, allocations: 492.3 kB / 0.9565 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/1.645, allocations: 52 kB / 0.9566 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003986/1.649, allocations: 267.2 kB / 0.9568 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001306/1.651, allocations: 201.6 kB / 0.957 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005387/1.651, allocations: 91.94 kB / 0.9571 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.007558/1.659, allocations: 3.398 MB / 0.9604 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.659, allocations: 1.5 kB / 0.9604 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.01045/1.669, allocations: 1.765 MB / 0.9622 GB, free: 2.266 MB / 0.6231 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.001069/1.67, allocations: 210.1 kB / 0.9624 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.2835/1.954, allocations: 10.55 MB / 0.9727 GB, free: 228.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/1.954, allocations: 7.672 kB / 0.9727 GB, free: 228.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005786/1.959, allocations: 3.816 MB / 0.9764 GB, free: 227 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005069/1.965, allocations: 0.6147 MB / 0.977 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/1.989, allocations: 16.43 MB / 0.9931 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005293/1.994, allocations: 4.624 MB / 0.9976 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006191/2, allocations: 2.974 MB / 1 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/2.002, allocations: 353.8 kB / 1.001 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.944e-06/2.002, allocations: 0 / 1.001 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.1193/2.121, allocations: 80.66 MB / 1.08 GB, free: 133.2 MB / 0.6387 GB " [Timeout remaining time 658] 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: 9.584789894521236]