Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001411/0.001411, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.001635/0.001635, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9203/0.9203, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.245/0.245, allocations: 34.24 MB / 294.9 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.951e-05, allocations: 6.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1907/0.1907, allocations: 9.016 MB / 451.2 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005117/0.1958, allocations: 3.625 MB / 454.8 MB, free: 37.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00087/0.1967, allocations: 66.31 kB / 454.9 MB, free: 37.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.1984, allocations: 1.986 MB / 456.9 MB, free: 36.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.2004, allocations: 1.737 MB / 458.6 MB, free: 35.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.2011, allocations: 0.6571 MB / 459.3 MB, free: 35.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00197/0.203, allocations: 3.755 MB / 463 MB, free: 33.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.2045, allocations: 2.388 MB / 465.4 MB, free: 32.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.2058, allocations: 1.891 MB / 467.3 MB, free: 31.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.2072, allocations: 1.816 MB / 469.1 MB, free: 31.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.2075, allocations: 259.7 kB / 469.4 MB, free: 31.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009508/0.2084, allocations: 0.9588 MB / 470.3 MB, free: 31.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006599/0.2091, allocations: 1.671 MB / 472 MB, free: 30.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006651/0.2097, allocations: 1.038 MB / 473 MB, free: 30.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.2129, allocations: 5.826 MB / 478.9 MB, free: 27.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2129, allocations: 0 / 478.9 MB, free: 27.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2129, allocations: 0 / 478.9 MB, free: 27.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.766e-05/0.213, allocations: 4 kB / 478.9 MB, free: 27.97 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.004855/0.2178, allocations: 4.055 MB / 482.9 MB, free: 25.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2179, allocations: 8.969 kB / 482.9 MB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005546/0.2184, allocations: 0.6077 MB / 483.5 MB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/0.2226, allocations: 1.846 MB / 485.4 MB, free: 25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.2253, allocations: 1.942 MB / 487.3 MB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.2254, allocations: 195.6 kB / 487.5 MB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003161/0.2257, allocations: 259.7 kB / 487.8 MB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009299/0.235, allocations: 8.495 MB / 496.3 MB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.2351, allocations: 41.17 kB / 496.3 MB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.2353, allocations: 127.5 kB / 496.4 MB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002002/0.2373, allocations: 1.693 MB / 498.1 MB, free: 19.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008718/0.246, allocations: 7.087 MB / 0.4934 GB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/0.2683, allocations: 32.99 MB / 0.5256 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/0.2727, allocations: 2.825 MB / 0.5284 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.2739, allocations: 1.354 MB / 0.5297 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004263/0.2782, allocations: 3.526 MB / 0.5331 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2782, allocations: 43.22 kB / 0.5332 GB, free: 7.309 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 7.574e-06/0.2782, allocations: 3.938 kB / 0.5332 GB, free: 7.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01659/0.2948, allocations: 11.94 MB / 0.5448 GB, free: 11.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.2949, allocations: 170.9 kB / 0.545 GB, free: 11.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/0.2985, allocations: 4.115 MB / 0.549 GB, free: 6.984 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.2985, allocations: 45.7 kB / 0.5491 GB, free: 6.934 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.2998, allocations: 2.831 MB / 0.5518 GB, free: 4.074 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.3001, allocations: 0.5351 MB / 0.5523 GB, free: 3.535 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008796/0.301, allocations: 1.06 MB / 0.5534 GB, free: 2.465 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.3011, allocations: 309.1 kB / 0.5537 GB, free: 2.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.3027, allocations: 1.697 MB / 0.5553 GB, free: 468 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.3058, allocations: 5.152 MB / 0.5604 GB, free: 9.566 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005372/0.3112, allocations: 7.408 MB / 0.5676 GB, free: 460 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-05/0.3112, allocations: 36 kB / 0.5676 GB, free: 424 kB / 474.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.006474/0.3177, allocations: 6.727 MB / 0.5742 GB, free: 9.684 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.3178, allocations: 64 kB / 0.5743 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.74e-05/0.3179, allocations: 120 kB / 0.5744 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.3182, allocations: 320.6 kB / 0.5747 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.3202, allocations: 1.24 MB / 0.5759 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.322, allocations: 2.378 MB / 0.5782 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.324, allocations: 319.6 kB / 0.5785 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/0.3243, allocations: 341.1 kB / 0.5788 GB, free: 4.812 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002279/0.3266, allocations: 1.783 MB / 0.5806 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/0.3269, allocations: 325.8 kB / 0.5809 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.3296, allocations: 2.359 MB / 0.5832 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.3296, allocations: 19.94 kB / 0.5832 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3296, allocations: 4 kB / 0.5832 GB, free: 304 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3296, allocations: 7.969 kB / 0.5832 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006742/0.3364, allocations: 5.715 MB / 0.5888 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3364, allocations: 0 / 0.5888 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.3368, allocations: 179.7 kB / 0.589 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.338, allocations: 0.7147 MB / 0.5897 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.338, allocations: 25.06 kB / 0.5897 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.3419, allocations: 4.721 MB / 0.5943 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3419, allocations: 7.969 kB / 0.5943 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004121/0.3461, allocations: 4.347 MB / 0.5986 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.3464, allocations: 333.6 kB / 0.5989 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.3466, allocations: 24 kB / 0.5989 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.3473, allocations: 104.3 kB / 0.599 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3474, allocations: 84.45 kB / 0.5991 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.3475, allocations: 32 kB / 0.5991 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002205/0.3497, allocations: 2.46 MB / 0.6015 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.3497, allocations: 0 / 0.6015 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002654/0.3523, allocations: 0.8826 MB / 0.6024 GB, free: 12.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004441/0.3568, allocations: 4.989 MB / 0.6073 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003887/0.3606, allocations: 3.893 MB / 0.6111 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3606, allocations: 0 / 0.6111 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009332/0.3616, allocations: 1.03 MB / 0.6121 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.3628, allocations: 405.3 kB / 0.6124 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2095/0.5723, allocations: 38.17 MB / 0.6497 GB, free: 160.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.5739, allocations: 2.229 MB / 0.6519 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002058/0.576, allocations: 1.668 MB / 0.6535 GB, free: 160.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.5771, allocations: 1.53 MB / 0.655 GB, free: 159 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/0.5771, allocations: 0 / 0.655 GB, free: 159 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07894/0.656, allocations: 59.63 MB / 0.7133 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.82, allocations: 4.062 kB / 0.7133 GB, free: 131.2 MB / 0.5417 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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: 13.013606391847134]