Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002561/0.002561, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.003137/0.003137, allocations: 165.2 kB / 23.53 MB, free: 0.9023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2188/0.2188, allocations: 32.38 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.395e-05, allocations: 6.25 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.02033/0.02037, allocations: 14.46 MB / 361.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.03278, allocations: 4.738 MB / 366.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.03534, allocations: 111.5 kB / 366.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007354/0.04269, allocations: 3.387 MB / 369.6 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007897/0.05059, allocations: 2.734 MB / 372.4 MB, free: 280 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.05336, allocations: 1.119 MB / 373.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.0668, allocations: 7.347 MB / 380.8 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008104/0.0749, allocations: 4.262 MB / 385.1 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01128/0.08618, allocations: 3.418 MB / 388.5 MB, free: 44 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009006/0.09519, allocations: 3.663 MB / 392.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002139/0.09733, allocations: 496 kB / 392.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004361/0.1017, allocations: 1.482 MB / 394.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004634/0.1063, allocations: 3.117 MB / 397.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004042/0.1104, allocations: 1.892 MB / 399.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01659/0.127, allocations: 10.66 MB / 409.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.127, allocations: 4 kB / 409.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.127, allocations: 0 / 409.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00037/0.1273, allocations: 3.938 kB / 409.8 MB, free: 10.67 MB / 346.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.02161/0.1489, allocations: 8.628 MB / 418.4 MB, free: 1.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.149, allocations: 12.03 kB / 418.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01934/0.1683, allocations: 4.677 MB / 423.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.1805, allocations: 3.757 MB / 426.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/0.1809, allocations: 316.4 kB / 427.2 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.183, allocations: 432.2 kB / 427.6 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.2093, allocations: 9.624 MB / 437.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002135/0.2095, allocations: 59.56 kB / 437.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/0.2106, allocations: 207.8 kB / 437.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006089/0.2167, allocations: 3.212 MB / 440.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.2393, allocations: 5.859 MB / 446.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2719/0.5112, allocations: 68.19 MB / 0.5027 GB, free: 39.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.5216, allocations: 3.112 MB / 0.5057 GB, free: 36.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002768/0.5244, allocations: 1.215 MB / 0.5069 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01941/0.5438, allocations: 8.592 MB / 0.5153 GB, free: 26.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.5438, allocations: 67.31 kB / 0.5154 GB, free: 26.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=292): time 6.081e-06/0.5438, allocations: 3.938 kB / 0.5154 GB, free: 26.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=342): time 0.09677/0.6406, allocations: 27.53 MB / 0.5423 GB, free: 15.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.6408, allocations: 210 kB / 0.5425 GB, free: 15.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/0.6522, allocations: 5.936 MB / 0.5483 GB, free: 9.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001009/0.6532, allocations: 73.7 kB / 0.5483 GB, free: 9.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006141/0.6593, allocations: 5.005 MB / 0.5532 GB, free: 4.715 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003012/0.6624, allocations: 1.453 MB / 0.5546 GB, free: 3.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00492/0.6673, allocations: 2.285 MB / 0.5569 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.6675, allocations: 480.8 kB / 0.5573 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005042/0.6726, allocations: 1.778 MB / 0.5591 GB, free: 14.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01458/0.6872, allocations: 9.49 MB / 0.5683 GB, free: 1.875 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02228/0.7094, allocations: 12.38 MB / 0.5804 GB, free: 2.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003264/0.7098, allocations: 52 kB / 0.5805 GB, free: 2.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.04892/0.7587, allocations: 12.57 MB / 0.5928 GB, free: 5.457 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.7589, allocations: 84.06 kB / 0.5928 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003197/0.7592, allocations: 175.4 kB / 0.593 GB, free: 5.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02703/0.7862, allocations: 4.916 MB / 0.5978 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008939/0.7952, allocations: 2.121 MB / 0.5999 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02434/0.8195, allocations: 9.921 MB / 0.6096 GB, free: 3.996 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009091/0.8286, allocations: 0.6203 MB / 0.6102 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002101/0.8307, allocations: 0.5175 MB / 0.6107 GB, free: 2.859 MB / 458.7 MB 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.004509/0.8352, allocations: 0.9934 MB / 0.6116 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001949/0.8371, allocations: 0.569 MB / 0.6122 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2189/1.056, allocations: 7.396 MB / 0.6194 GB, free: 153.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/1.056, allocations: 53.33 kB / 0.6195 GB, free: 153.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-05/1.056, allocations: 7.969 kB / 0.6195 GB, free: 153.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.063e-05/1.056, allocations: 18.97 kB / 0.6195 GB, free: 153.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0487/1.105, allocations: 17.27 MB / 0.6364 GB, free: 149.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/1.105, allocations: 3.375 kB / 0.6364 GB, free: 149.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003262/1.108, allocations: 0.585 MB / 0.6369 GB, free: 149.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02037/1.129, allocations: 4.299 MB / 0.6411 GB, free: 146.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007671/1.129, allocations: 63.83 kB / 0.6412 GB, free: 146.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/1.145, allocations: 8.58 MB / 0.6496 GB, free: 137.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.145, allocations: 15.88 kB / 0.6496 GB, free: 137.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02719/1.172, allocations: 8.655 MB / 0.658 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004582/1.177, allocations: 1.11 MB / 0.6591 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/1.178, allocations: 63.95 kB / 0.6592 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00424/1.183, allocations: 315.5 kB / 0.6595 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000943/1.183, allocations: 209.4 kB / 0.6597 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000404/1.184, allocations: 91.38 kB / 0.6598 GB, free: 127.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005691/1.19, allocations: 2.448 MB / 0.6622 GB, free: 125.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.19, allocations: 0 / 0.6622 GB, free: 125.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01117/1.201, allocations: 1.901 MB / 0.664 GB, free: 123.4 MB / 458.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 (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.001497/1.202, allocations: 219.6 kB / 0.6642 GB, free: 123.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01508/1.217, allocations: 6.373 MB / 0.6705 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.217, allocations: 0 / 0.6705 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004806/1.222, allocations: 2.081 MB / 0.6725 GB, free: 114.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00744/1.23, allocations: 0.5564 MB / 0.673 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02568/1.255, allocations: 12.72 MB / 0.6854 GB, free: 101.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005032/1.26, allocations: 3.712 MB / 0.6891 GB, free: 97.67 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005581/1.266, allocations: 2.377 MB / 0.6914 GB, free: 95.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/1.267, allocations: 340.4 kB / 0.6917 GB, free: 94.95 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/1.267, allocations: 0 / 0.6917 GB, free: 94.95 MB / 458.7 MB Notification: Performance of Templates: time 0.1096/1.377, allocations: 75.78 MB / 0.7657 GB, free: 19.02 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.493186568026431]