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.001433/0.001433, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001621/0.001621, allocations: 172.3 kB / 24.82 MB, free: 8.863 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 1.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2469/0.2469, allocations: 32.8 MB / 294.6 MB, free: 1.23 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 2.745e-06/2.745e-06, allocations: 0 / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.243e-05/3.518e-05, allocations: 2.312 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01453/0.01457, allocations: 14.09 MB / 390.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.02536, allocations: 4.713 MB / 395.3 MB, free: 1.543 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.02826, allocations: 107.5 kB / 395.4 MB, free: 1.438 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005188/0.03345, allocations: 3.332 MB / 398.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005738/0.03919, allocations: 2.714 MB / 401.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.04106, allocations: 1.107 MB / 402.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008842/0.04991, allocations: 7.811 MB / 410.3 MB, free: 2.434 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005669/0.05557, allocations: 4.243 MB / 414.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006897/0.06247, allocations: 4.452 MB / 419 MB, free: 9.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005461/0.06793, allocations: 3.574 MB / 422.6 MB, free: 6.078 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.06929, allocations: 492 kB / 423.1 MB, free: 5.598 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.07189, allocations: 1.467 MB / 424.5 MB, free: 4.129 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00261/0.0745, allocations: 3.054 MB / 427.6 MB, free: 1.066 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002925/0.07742, allocations: 1.85 MB / 429.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008616/0.08604, allocations: 6.87 MB / 436.3 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.08605, allocations: 4 kB / 436.3 MB, free: 8.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08605, allocations: 0 / 436.3 MB, free: 8.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002328/0.08628, allocations: 4 kB / 436.3 MB, free: 8.309 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.01301/0.09929, allocations: 7.394 MB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.09933, allocations: 8.031 kB / 443.7 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.173/0.2723, allocations: 2.783 MB / 446.5 MB, free: 94.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.2762, allocations: 3.06 MB / 449.6 MB, free: 94.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.2763, allocations: 315.3 kB / 449.9 MB, free: 94.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005449/0.2768, allocations: 435.3 kB / 450.3 MB, free: 94.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007514/0.2844, allocations: 8.086 MB / 458.4 MB, free: 90.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-05/0.2844, allocations: 52.33 kB / 458.4 MB, free: 90.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003724/0.2848, allocations: 211 kB / 458.6 MB, free: 90.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002458/0.2873, allocations: 2.856 MB / 461.5 MB, free: 90.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00981/0.2971, allocations: 3.953 MB / 465.5 MB, free: 89.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04491/0.342, allocations: 59.24 MB / 0.5124 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005632/0.3476, allocations: 2.56 MB / 0.5149 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.3487, allocations: 0.8808 MB / 0.5158 GB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007561/0.3562, allocations: 6.992 MB / 0.5226 GB, free: 35.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3563, allocations: 67.33 kB / 0.5227 GB, free: 35.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 3.907e-06/0.3563, allocations: 0 / 0.5227 GB, free: 35.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.02194/0.3782, allocations: 10.94 MB / 0.5333 GB, free: 25.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3782, allocations: 209.9 kB / 0.5335 GB, free: 25.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/0.3813, allocations: 4.817 MB / 0.5382 GB, free: 20.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.3814, allocations: 73.69 kB / 0.5383 GB, free: 20.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.3828, allocations: 4.852 MB / 0.5431 GB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005612/0.3834, allocations: 1.237 MB / 0.5443 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/0.3847, allocations: 1.946 MB / 0.5462 GB, free: 12.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.638e-05/0.3848, allocations: 480.8 kB / 0.5466 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.386, allocations: 1.025 MB / 0.5476 GB, free: 11.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003315/0.3894, allocations: 8.762 MB / 0.5562 GB, free: 14.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007526/0.3969, allocations: 10.6 MB / 0.5665 GB, free: 0.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.57e-05/0.3969, allocations: 52 kB / 0.5666 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.009172/0.4061, allocations: 7.573 MB / 0.574 GB, free: 9.043 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/0.4062, allocations: 86.03 kB / 0.5741 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.4063, allocations: 180 kB / 0.5742 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.4084, allocations: 0.834 MB / 0.575 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003605/0.412, allocations: 1.981 MB / 0.577 GB, free: 5.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.4176, allocations: 5.562 MB / 0.5824 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004414/0.422, allocations: 367.8 kB / 0.5828 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/0.4226, allocations: 452 kB / 0.5832 GB, free: 15.38 MB / 458.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.001978/0.4246, allocations: 0.8717 MB / 0.584 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007511/0.4253, allocations: 0.5554 MB / 0.5846 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/0.4298, allocations: 2.449 MB / 0.587 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-05/0.4299, allocations: 51.94 kB / 0.587 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.4299, allocations: 7.984 kB / 0.587 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.4299, allocations: 11.95 kB / 0.587 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.4425, allocations: 7.172 MB / 0.5941 GB, free: 4.047 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.4426, allocations: 4 kB / 0.5941 GB, free: 4.043 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.444, allocations: 404.2 kB / 0.5944 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.4459, allocations: 0.5781 MB / 0.595 GB, free: 3.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/0.4461, allocations: 55.98 kB / 0.5951 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1702/0.6163, allocations: 4.588 MB / 0.5995 GB, free: 117.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.6163, allocations: 8.531 kB / 0.5995 GB, free: 117.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005221/0.6215, allocations: 3.727 MB / 0.6032 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.6226, allocations: 454.8 kB / 0.6036 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/0.623, allocations: 47.12 kB / 0.6037 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6241, allocations: 58.83 kB / 0.6037 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/0.6244, allocations: 182.7 kB / 0.6039 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.6245, allocations: 64.36 kB / 0.604 GB, free: 116.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002004/0.6265, allocations: 1.9 MB / 0.6058 GB, free: 116.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6265, allocations: 0 / 0.6058 GB, free: 116.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004876/0.6314, allocations: 1.561 MB / 0.6073 GB, free: 116.2 MB / 458.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.0004828/0.6319, allocations: 216 kB / 0.6075 GB, free: 116.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0057/0.6376, allocations: 4.354 MB / 0.6118 GB, free: 115.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.6376, allocations: 0 / 0.6118 GB, free: 115.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.6391, allocations: 1.174 MB / 0.6129 GB, free: 115.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.6417, allocations: 0.5315 MB / 0.6135 GB, free: 115.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.6565, allocations: 11.49 MB / 0.6247 GB, free: 110.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/0.6587, allocations: 1.839 MB / 0.6265 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002606/0.6613, allocations: 0.713 MB / 0.6272 GB, free: 110.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/0.6629, allocations: 0.7874 MB / 0.6279 GB, free: 110.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.853e-06/0.6629, allocations: 0 / 0.6279 GB, free: 110.5 MB / 458.7 MB Notification: Performance of Templates: time 0.07155/0.7344, allocations: 51.17 MB / 0.6779 GB, free: 76.33 MB / 458.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: 4.848093117121607]