Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001063/0.001063, allocations: 79.53 kB / 20.02 MB, free: 4.508 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.00106/0.00106, allocations: 173.9 kB / 23.32 MB, free: 1.203 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 0.8404/0.8404, allocations: 158.6 MB / 185.1 MB, free: 3.004 MB / 170.7 MB " [Timeout remaining time 179] 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.1259/0.1259, allocations: 32.37 MB / 269.7 MB, free: 14.92 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 407.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.877e-05, allocations: 2.281 kB / 407.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.007791/0.00782, allocations: 9.08 MB / 416.1 MB, free: 9 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006878/0.0147, allocations: 3.597 MB / 419.7 MB, free: 5.391 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.01646, allocations: 67.69 kB / 419.8 MB, free: 5.324 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.01894, allocations: 2.001 MB / 421.8 MB, free: 3.316 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.02229, allocations: 1.761 MB / 423.6 MB, free: 1.547 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.02329, allocations: 0.6664 MB / 424.2 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.02609, allocations: 3.692 MB / 427.9 MB, free: 13.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.02786, allocations: 2.402 MB / 430.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.0296, allocations: 1.914 MB / 432.2 MB, free: 8.797 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.03136, allocations: 1.816 MB / 434.1 MB, free: 6.977 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.03162, allocations: 264 kB / 434.3 MB, free: 6.719 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.03284, allocations: 0.979 MB / 435.3 MB, free: 5.738 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009949/0.03384, allocations: 1.691 MB / 437 MB, free: 4.043 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008163/0.03466, allocations: 1.047 MB / 438 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006078/0.04073, allocations: 5.895 MB / 443.9 MB, free: 13.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.04074, allocations: 0 / 443.9 MB, free: 13.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.04074, allocations: 3.938 kB / 443.9 MB, free: 13.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002229/0.04097, allocations: 0 / 443.9 MB, free: 13.07 MB / 426.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.006535/0.0475, allocations: 4.088 MB / 448 MB, free: 8.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.04755, allocations: 8.031 kB / 448 MB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006234/0.04817, allocations: 0.6082 MB / 448.6 MB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.05154, allocations: 1.847 MB / 450.5 MB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.05425, allocations: 2.145 MB / 452.6 MB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.05437, allocations: 189.2 kB / 452.8 MB, free: 4.074 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/0.05471, allocations: 252.2 kB / 453.1 MB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009303/0.06401, allocations: 8.494 MB / 461.6 MB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-05/0.0641, allocations: 35.69 kB / 461.6 MB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.06444, allocations: 123.9 kB / 461.7 MB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.0661, allocations: 1.699 MB / 463.4 MB, free: 8.793 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.07636, allocations: 7.067 MB / 470.5 MB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1786/0.255, allocations: 33.14 MB / 0.4918 GB, free: 70.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.259, allocations: 2.821 MB / 0.4946 GB, free: 69.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.2602, allocations: 1.359 MB / 0.4959 GB, free: 69.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003722/0.2639, allocations: 3.537 MB / 0.4993 GB, free: 67.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.2639, allocations: 45.78 kB / 0.4994 GB, free: 67.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 3.947e-06/0.2639, allocations: 3.938 kB / 0.4994 GB, free: 67.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01715/0.2811, allocations: 12 MB / 0.5111 GB, free: 63.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.2811, allocations: 169.7 kB / 0.5113 GB, free: 62.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004386/0.2855, allocations: 4.173 MB / 0.5154 GB, free: 61.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.2857, allocations: 42.67 kB / 0.5154 GB, free: 61.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.2868, allocations: 2.843 MB / 0.5182 GB, free: 59.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.2873, allocations: 0.5336 MB / 0.5187 GB, free: 58.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008894/0.2882, allocations: 1.067 MB / 0.5197 GB, free: 58.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.137e-05/0.2882, allocations: 301.6 kB / 0.52 GB, free: 58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.2897, allocations: 1.696 MB / 0.5217 GB, free: 57.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.2921, allocations: 5.139 MB / 0.5267 GB, free: 52.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004369/0.2964, allocations: 7.401 MB / 0.5339 GB, free: 45.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.015e-05/0.2965, allocations: 32 kB / 0.534 GB, free: 45.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.006134/0.3026, allocations: 6.72 MB / 0.5405 GB, free: 39.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.3026, allocations: 60 kB / 0.5406 GB, free: 39.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.221e-05/0.3027, allocations: 120.9 kB / 0.5407 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.303, allocations: 325.4 kB / 0.541 GB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.3047, allocations: 1.238 MB / 0.5422 GB, free: 37.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.306, allocations: 2.383 MB / 0.5445 GB, free: 35.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.3086, allocations: 324.2 kB / 0.5448 GB, free: 35.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.3089, allocations: 333.9 kB / 0.5452 GB, free: 35.04 MB / 442.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.001624/0.3105, allocations: 1.788 MB / 0.5469 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/0.311, allocations: 329.7 kB / 0.5472 GB, free: 33.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.3132, allocations: 2.352 MB / 0.5495 GB, free: 30.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.3132, allocations: 19.52 kB / 0.5495 GB, free: 30.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3132, allocations: 4 kB / 0.5495 GB, free: 30.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3132, allocations: 7.984 kB / 0.5496 GB, free: 30.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/0.3191, allocations: 5.747 MB / 0.5552 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3191, allocations: 0 / 0.5552 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.3195, allocations: 175.8 kB / 0.5553 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.3205, allocations: 0.7154 MB / 0.556 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.3206, allocations: 20 kB / 0.556 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/0.3236, allocations: 4.727 MB / 0.5607 GB, free: 19.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3236, allocations: 4.062 kB / 0.5607 GB, free: 19.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.3275, allocations: 4.327 MB / 0.5649 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.3285, allocations: 0.5094 MB / 0.5654 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.3287, allocations: 24 kB / 0.5654 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.3294, allocations: 103.8 kB / 0.5655 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3296, allocations: 76.45 kB / 0.5656 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.3296, allocations: 36 kB / 0.5656 GB, free: 14.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002025/0.3316, allocations: 2.503 MB / 0.5681 GB, free: 11.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3316, allocations: 0 / 0.5681 GB, free: 11.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002774/0.3344, allocations: 0.9022 MB / 0.5689 GB, free: 10.62 MB / 442.7 MB 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.003512/0.3379, allocations: 4.986 MB / 0.5738 GB, free: 5.602 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003477/0.3414, allocations: 3.882 MB / 0.5776 GB, free: 1.746 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.3414, allocations: 0 / 0.5776 GB, free: 1.746 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007563/0.3422, allocations: 1.045 MB / 0.5786 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.3437, allocations: 390.2 kB / 0.579 GB, free: 324 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/0.3837, allocations: 38.41 MB / 0.6165 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/0.3858, allocations: 2.242 MB / 0.6187 GB, free: 2.445 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002419/0.3882, allocations: 1.67 MB / 0.6203 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/0.3897, allocations: 1.54 MB / 0.6218 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/0.3897, allocations: 4 kB / 0.6218 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2336/0.6234, allocations: 60.32 MB / 0.6807 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.528/10.15, allocations: 6.188 kB / 0.6808 GB, free: 159.1 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.279985889792442]