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.001016/0.001016, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001091/0.001091, allocations: 161.3 kB / 24.99 MB, free: 8.793 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.9682/0.9682, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2528/0.2528, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.775e-06/2.775e-06, allocations: 0 / 376 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.283e-05/4.561e-05, allocations: 2.312 kB / 376 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01477/0.01481, allocations: 14.41 MB / 390.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008706/0.02352, allocations: 4.729 MB / 395.1 MB, free: 1.805 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.02585, allocations: 107.5 kB / 395.2 MB, free: 1.699 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004361/0.03021, allocations: 3.379 MB / 398.6 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006091/0.0363, allocations: 2.691 MB / 401.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.03822, allocations: 1.115 MB / 402.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008287/0.04651, allocations: 7.807 MB / 410.2 MB, free: 2.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006644/0.05315, allocations: 4.243 MB / 414.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00792/0.06107, allocations: 3.391 MB / 417.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006389/0.06746, allocations: 3.644 MB / 421.5 MB, free: 7.305 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001671/0.06913, allocations: 500 kB / 422 MB, free: 6.816 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.07236, allocations: 1.475 MB / 423.5 MB, free: 5.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003569/0.07593, allocations: 3.062 MB / 426.5 MB, free: 2.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003692/0.07962, allocations: 1.861 MB / 428.4 MB, free: 412 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.08996, allocations: 6.897 MB / 435.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.08997, allocations: 0 / 435.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.08997, allocations: 0 / 435.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003397/0.09031, allocations: 0 / 435.3 MB, free: 9.477 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.01499/0.1053, allocations: 7.949 MB / 443.2 MB, free: 1.441 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1054, allocations: 8.031 kB / 443.2 MB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2268/0.3321, allocations: 4.678 MB / 447.9 MB, free: 77.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006171/0.3383, allocations: 3.677 MB / 451.6 MB, free: 77.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.3385, allocations: 318 kB / 451.9 MB, free: 77.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.3398, allocations: 433.2 kB / 452.3 MB, free: 77.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.3542, allocations: 9.008 MB / 461.3 MB, free: 73.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.3544, allocations: 55.69 kB / 461.4 MB, free: 73.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007817/0.3552, allocations: 203 kB / 461.6 MB, free: 73.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002874/0.3581, allocations: 3.214 MB / 464.8 MB, free: 73.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.3706, allocations: 5.23 MB / 470 MB, free: 73.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06016/0.4307, allocations: 60.01 MB / 0.5176 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.4411, allocations: 3.044 MB / 0.5206 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/0.4445, allocations: 1.198 MB / 0.5218 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/0.4623, allocations: 8.329 MB / 0.5299 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.4624, allocations: 66.58 kB / 0.53 GB, free: 18.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 6.092e-06/0.4624, allocations: 0 / 0.53 GB, free: 18.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.05856/0.521, allocations: 27.26 MB / 0.5566 GB, free: 8.203 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5211, allocations: 210 kB / 0.5568 GB, free: 7.953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/0.5265, allocations: 4.719 MB / 0.5614 GB, free: 3.219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008783/0.5274, allocations: 73.7 kB / 0.5615 GB, free: 3.141 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002679/0.5301, allocations: 4.717 MB / 0.5661 GB, free: 14.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001891/0.532, allocations: 1.362 MB / 0.5674 GB, free: 13.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/0.5342, allocations: 1.926 MB / 0.5693 GB, free: 11.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5343, allocations: 480.8 kB / 0.5697 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.5371, allocations: 1.682 MB / 0.5714 GB, free: 9.012 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007339/0.5445, allocations: 9.083 MB / 0.5802 GB, free: 12.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/0.5573, allocations: 11.73 MB / 0.5917 GB, free: 13.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002441/0.5575, allocations: 55.94 kB / 0.5917 GB, free: 13.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.03322/0.5907, allocations: 12.35 MB / 0.6038 GB, free: 1.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.5909, allocations: 80.19 kB / 0.6039 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/0.5911, allocations: 176 kB / 0.604 GB, free: 1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1932/0.7843, allocations: 4.855 MB / 0.6088 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005173/0.7895, allocations: 2.117 MB / 0.6109 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.8024, allocations: 9.365 MB / 0.62 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007115/0.8095, allocations: 0.6111 MB / 0.6206 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/0.8109, allocations: 0.5074 MB / 0.6211 GB, free: 111.9 MB / 474.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.003074/0.814, allocations: 0.8617 MB / 0.6219 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/0.8153, allocations: 0.563 MB / 0.6225 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/0.8305, allocations: 7.286 MB / 0.6296 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.635e-05/0.8306, allocations: 60.39 kB / 0.6297 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.8307, allocations: 12.19 kB / 0.6297 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-05/0.8307, allocations: 12.28 kB / 0.6297 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03162/0.8623, allocations: 15.81 MB / 0.6451 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-05/0.8624, allocations: 10 kB / 0.6451 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/0.8648, allocations: 0.5802 MB / 0.6457 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0119/0.8767, allocations: 4.276 MB / 0.6499 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007701/0.8775, allocations: 55.22 kB / 0.6499 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.8876, allocations: 8.145 MB / 0.6579 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.8876, allocations: 5.219 kB / 0.6579 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01739/0.905, allocations: 8.401 MB / 0.6661 GB, free: 99.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.9063, allocations: 474.4 kB / 0.6665 GB, free: 99.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008991/0.9072, allocations: 63.61 kB / 0.6666 GB, free: 99.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.9091, allocations: 311.5 kB / 0.6669 GB, free: 99.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006144/0.9097, allocations: 203.4 kB / 0.6671 GB, free: 98.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/0.9099, allocations: 79.25 kB / 0.6672 GB, free: 98.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002824/0.9127, allocations: 2.016 MB / 0.6691 GB, free: 97.94 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9127, allocations: 0 / 0.6691 GB, free: 97.94 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005825/0.9185, allocations: 1.864 MB / 0.671 GB, free: 97.69 MB / 474.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.0006188/0.9191, allocations: 223.3 kB / 0.6712 GB, free: 97.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00852/0.9276, allocations: 5.91 MB / 0.6769 GB, free: 92.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.9277, allocations: 0.9375 kB / 0.6769 GB, free: 92.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002859/0.9305, allocations: 1.969 MB / 0.6789 GB, free: 90.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/0.9337, allocations: 0.5506 MB / 0.6794 GB, free: 89.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.9529, allocations: 12.53 MB / 0.6916 GB, free: 76.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.9549, allocations: 1.876 MB / 0.6935 GB, free: 75.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003967/0.9589, allocations: 2.375 MB / 0.6958 GB, free: 72.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.9599, allocations: 342.6 kB / 0.6961 GB, free: 72.34 MB / 474.7 MB Notification: Performance of SimCode: time 2.194e-06/0.9599, allocations: 0 / 0.6961 GB, free: 72.34 MB / 474.7 MB Notification: Performance of Templates: time 0.08325/1.043, allocations: 75.22 MB / 0.7696 GB, free: 13.6 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.6806009949650615]