Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001252/0.001252, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0016/0.0016, allocations: 170 kB / 23.94 MB, free: 0.6211 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.9379/0.9379, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2815/0.2815, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.245e-05, allocations: 2.281 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.218/0.218, allocations: 7.66 MB / 449.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005525/0.2236, allocations: 3.287 MB / 453.1 MB, free: 38.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.2249, allocations: 52.53 kB / 453.2 MB, free: 38.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.2266, allocations: 1.399 MB / 454.6 MB, free: 37.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.2286, allocations: 0.9622 MB / 455.5 MB, free: 37.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.2294, allocations: 0.5562 MB / 456.1 MB, free: 36.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.2312, allocations: 2.062 MB / 458.2 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.2323, allocations: 1.502 MB / 459.7 MB, free: 35.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.2335, allocations: 1.015 MB / 460.7 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008864/0.2344, allocations: 0.9903 MB / 461.7 MB, free: 34.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.2345, allocations: 140 kB / 461.8 MB, free: 34.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007333/0.2352, allocations: 0.5685 MB / 462.4 MB, free: 34.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004126/0.2356, allocations: 0.783 MB / 463.2 MB, free: 34.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.236, allocations: 0.5357 MB / 463.7 MB, free: 34.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.2378, allocations: 2.57 MB / 466.3 MB, free: 33.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2378, allocations: 0 / 466.3 MB, free: 33.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2378, allocations: 0 / 466.3 MB, free: 33.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.2378, allocations: 4 kB / 466.3 MB, free: 33.3 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002567/0.2404, allocations: 2.013 MB / 468.3 MB, free: 32.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.2404, allocations: 9.875 kB / 468.3 MB, free: 32.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/0.2406, allocations: 250.5 kB / 468.5 MB, free: 32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008114/0.2414, allocations: 311.7 kB / 468.8 MB, free: 31.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.2427, allocations: 1.069 MB / 469.9 MB, free: 31.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.2427, allocations: 92.3 kB / 470 MB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.2429, allocations: 126.2 kB / 470.1 MB, free: 31.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.2463, allocations: 3.054 MB / 473.2 MB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.2463, allocations: 13.92 kB / 473.2 MB, free: 29.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.2464, allocations: 55.06 kB / 473.2 MB, free: 29.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003512/0.2467, allocations: 433.1 kB / 473.7 MB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.2495, allocations: 2.168 MB / 475.8 MB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008147/0.2576, allocations: 10.36 MB / 486.2 MB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.2601, allocations: 1.273 MB / 487.5 MB, free: 21.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.2605, allocations: 375.9 kB / 487.8 MB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002645/0.2632, allocations: 2.07 MB / 489.9 MB, free: 20.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2632, allocations: 39.5 kB / 489.9 MB, free: 20.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 2.985e-06/0.2632, allocations: 0 / 489.9 MB, free: 20.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.007774/0.271, allocations: 3.817 MB / 493.8 MB, free: 19.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.271, allocations: 88.11 kB / 493.8 MB, free: 19.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.2726, allocations: 1.395 MB / 495.2 MB, free: 18.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.2726, allocations: 35.75 kB / 495.3 MB, free: 18.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.273, allocations: 0.9573 MB / 496.2 MB, free: 17.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.2731, allocations: 231.2 kB / 496.5 MB, free: 17.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.2734, allocations: 309.4 kB / 496.8 MB, free: 17.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.069e-05/0.2734, allocations: 303 kB / 497.1 MB, free: 17.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.2739, allocations: 415.8 kB / 497.5 MB, free: 17.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/0.2747, allocations: 1.282 MB / 498.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.2761, allocations: 1.794 MB / 0.4888 GB, free: 14.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.2761, allocations: 8.688 kB / 0.4888 GB, free: 14.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002223/0.2784, allocations: 1.725 MB / 0.4905 GB, free: 13.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.2784, allocations: 17.66 kB / 0.4905 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.2784, allocations: 29.08 kB / 0.4905 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.2786, allocations: 95.14 kB / 0.4906 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.2793, allocations: 351.3 kB / 0.491 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.2804, allocations: 1.763 MB / 0.4927 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2814, allocations: 102.4 kB / 0.4928 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.2815, allocations: 84.72 kB / 0.4929 GB, free: 11.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * 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.0009234/0.2824, allocations: 0.6391 MB / 0.4935 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.2826, allocations: 119.2 kB / 0.4936 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.2827, allocations: 138.2 kB / 0.4937 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.2827, allocations: 19.36 kB / 0.4938 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.2827, allocations: 0 / 0.4938 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2827, allocations: 4.016 kB / 0.4938 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.2856, allocations: 2.162 MB / 0.4959 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.2856, allocations: 5.625 kB / 0.4959 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.2859, allocations: 96.53 kB / 0.496 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.2861, allocations: 72.41 kB / 0.496 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.2861, allocations: 16.25 kB / 0.4961 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.2873, allocations: 1.837 MB / 0.4978 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2873, allocations: 4.531 kB / 0.4978 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.2886, allocations: 1.106 MB / 0.4989 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.2889, allocations: 127.8 kB / 0.4991 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.2889, allocations: 17.09 kB / 0.4991 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.2892, allocations: 43.31 kB / 0.4991 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.2893, allocations: 53.8 kB / 0.4992 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.2894, allocations: 20.45 kB / 0.4992 GB, free: 7.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001151/0.2905, allocations: 0.8789 MB / 0.5 GB, free: 7.641 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2905, allocations: 5.438 kB / 0.5 GB, free: 7.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001564/0.2921, allocations: 353.3 kB / 0.5004 GB, free: 7.602 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/0.2936, allocations: 1.694 MB / 0.502 GB, free: 6.254 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.2955, allocations: 1.059 MB / 0.5031 GB, free: 5.309 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.2955, allocations: 0.625 kB / 0.5031 GB, free: 5.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.296, allocations: 395.6 kB / 0.5034 GB, free: 4.949 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008657/0.2968, allocations: 186.3 kB / 0.5036 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.3106, allocations: 11.93 MB / 0.5153 GB, free: 8.441 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/0.3114, allocations: 0.8552 MB / 0.5161 GB, free: 7.551 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007527/0.3122, allocations: 421.5 kB / 0.5165 GB, free: 7.137 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/0.3127, allocations: 0.5862 MB / 0.5171 GB, free: 6.551 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3127, allocations: 0 / 0.5171 GB, free: 6.551 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0453/0.358, allocations: 25.23 MB / 0.5417 GB, free: 13.67 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.429, allocations: 7.984 kB / 0.5417 GB, free: 13.66 MB / 458.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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: 10.668660746887326]