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.001029/0.001029, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001117/0.001117, allocations: 165.1 kB / 25.61 MB, free: 8.879 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.9234/0.9234, allocations: 177.1 MB / 206 MB, free: 4.512 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.1576/0.1576, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.743e-06/1.743e-06, allocations: 0 / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.618e-05, allocations: 2.312 kB / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.009339/0.009365, allocations: 14.07 MB / 391.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008846/0.01821, allocations: 4.707 MB / 396 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.02121, allocations: 107.5 kB / 396.1 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003976/0.02519, allocations: 3.336 MB / 399.5 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006231/0.03142, allocations: 2.698 MB / 402.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.03372, allocations: 1.127 MB / 403.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008847/0.04257, allocations: 7.817 MB / 411.1 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00519/0.04776, allocations: 4.247 MB / 415.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00634/0.0541, allocations: 4.448 MB / 419.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004666/0.05876, allocations: 3.581 MB / 423.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.05999, allocations: 492 kB / 423.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.06238, allocations: 1.463 MB / 425.3 MB, free: 9.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002866/0.06524, allocations: 3.054 MB / 428.4 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002432/0.06768, allocations: 1.85 MB / 430.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008758/0.07643, allocations: 6.87 MB / 437.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.07644, allocations: 4 kB / 437.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.07644, allocations: 0 / 437.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002888/0.07673, allocations: 0 / 437.1 MB, free: 13.5 MB / 362.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.01215/0.08888, allocations: 7.398 MB / 444.5 MB, free: 6.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.08893, allocations: 11.98 kB / 444.5 MB, free: 6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008039/0.09696, allocations: 2.779 MB / 447.3 MB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005855/0.1028, allocations: 3.07 MB / 450.4 MB, free: 92 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.1031, allocations: 320.4 kB / 450.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.1042, allocations: 432.2 kB / 451.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.1209, allocations: 8.085 MB / 459.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/0.1211, allocations: 51.58 kB / 459.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008007/0.1219, allocations: 203.8 kB / 459.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002851/0.1248, allocations: 2.865 MB / 462.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.1355, allocations: 3.956 MB / 466.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.228/0.3635, allocations: 59.22 MB / 0.5132 GB, free: 63.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006118/0.3696, allocations: 2.564 MB / 0.5157 GB, free: 63.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.371, allocations: 0.8759 MB / 0.5165 GB, free: 63.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009845/0.3808, allocations: 6.987 MB / 0.5233 GB, free: 62.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.3809, allocations: 60.95 kB / 0.5234 GB, free: 62.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 5.841e-06/0.3809, allocations: 0 / 0.5234 GB, free: 62.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.02621/0.4071, allocations: 10.94 MB / 0.5341 GB, free: 56.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.4072, allocations: 205.9 kB / 0.5343 GB, free: 56.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.4116, allocations: 4.813 MB / 0.539 GB, free: 52.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005057/0.4122, allocations: 65.7 kB / 0.539 GB, free: 52.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.414, allocations: 4.854 MB / 0.5438 GB, free: 47.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.4151, allocations: 1.232 MB / 0.545 GB, free: 46.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/0.4165, allocations: 1.957 MB / 0.5469 GB, free: 44.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.4165, allocations: 476.8 kB / 0.5474 GB, free: 44.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.418, allocations: 1.029 MB / 0.5484 GB, free: 43.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003278/0.4213, allocations: 8.757 MB / 0.5569 GB, free: 30.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006643/0.4279, allocations: 10.61 MB / 0.5673 GB, free: 17.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/0.4281, allocations: 52 kB / 0.5673 GB, free: 17.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.01205/0.4402, allocations: 7.571 MB / 0.5747 GB, free: 9.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.331e-05/0.4402, allocations: 86.25 kB / 0.5748 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/0.4404, allocations: 184 kB / 0.575 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.4424, allocations: 0.8326 MB / 0.5758 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/0.447, allocations: 1.981 MB / 0.5777 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004236/0.4512, allocations: 5.57 MB / 0.5832 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/0.4564, allocations: 375.7 kB / 0.5835 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.4574, allocations: 444 kB / 0.5839 GB, free: 15.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * 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 (1108): * Single equations (assignments): 1100 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002231/0.4597, allocations: 0.8676 MB / 0.5848 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/0.4609, allocations: 0.5548 MB / 0.5853 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/0.4647, allocations: 2.449 MB / 0.5877 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-05/0.4647, allocations: 55.98 kB / 0.5878 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4647, allocations: 4 kB / 0.5878 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.4648, allocations: 11.95 kB / 0.5878 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.4773, allocations: 7.175 MB / 0.5948 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.4773, allocations: 8 kB / 0.5948 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.4786, allocations: 403.4 kB / 0.5952 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/0.4805, allocations: 0.5714 MB / 0.5957 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/0.4808, allocations: 55.98 kB / 0.5958 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/0.485, allocations: 4.596 MB / 0.6003 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.485, allocations: 15.97 kB / 0.6003 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005481/0.4905, allocations: 3.724 MB / 0.6039 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.4917, allocations: 452.6 kB / 0.6044 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004549/0.4921, allocations: 47.98 kB / 0.6044 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.4932, allocations: 55.92 kB / 0.6045 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.4935, allocations: 173.6 kB / 0.6046 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.4936, allocations: 60 kB / 0.6047 GB, free: 10.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002204/0.4958, allocations: 1.914 MB / 0.6066 GB, free: 8.164 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4958, allocations: 0 / 0.6066 GB, free: 8.164 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004947/0.5008, allocations: 1.566 MB / 0.6081 GB, free: 6.602 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (239): * Single equations (assignments): 231 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004352/0.5012, allocations: 214.7 kB / 0.6083 GB, free: 6.383 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005852/0.5071, allocations: 4.35 MB / 0.6125 GB, free: 2.031 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.5071, allocations: 4 kB / 0.6125 GB, free: 2.027 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.5085, allocations: 1.171 MB / 0.6137 GB, free: 0.832 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.5111, allocations: 0.543 MB / 0.6142 GB, free: 308 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/0.5287, allocations: 11.5 MB / 0.6254 GB, free: 4.594 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.5307, allocations: 1.834 MB / 0.6272 GB, free: 2.727 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00227/0.533, allocations: 0.7081 MB / 0.6279 GB, free: 2.012 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/0.5343, allocations: 0.7871 MB / 0.6287 GB, free: 1.223 MB / 458.7 MB Notification: Performance of SimCode: time 2.084e-06/0.5343, allocations: 0 / 0.6287 GB, free: 1.223 MB / 458.7 MB Notification: Performance of Templates: time 0.2172/0.7515, allocations: 52.35 MB / 0.6798 GB, free: 166.2 MB / 490.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.240432806313038]