Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009209/0.0009209, allocations: 80.53 kB / 19.92 MB, free: 4.633 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.0008539/0.0008539, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.943/0.943, allocations: 158.6 MB / 185 MB, free: 3.051 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.1497/0.1497, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.356e-05, allocations: 6.078 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007249/0.007273, allocations: 7.699 MB / 414.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00595/0.01322, allocations: 3.262 MB / 417.8 MB, free: 7.223 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.01453, allocations: 51.75 kB / 417.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.01625, allocations: 1.417 MB / 419.3 MB, free: 5.75 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.01827, allocations: 0.9915 MB / 420.3 MB, free: 4.754 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.0193, allocations: 0.5651 MB / 420.8 MB, free: 4.188 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002342/0.02164, allocations: 2.002 MB / 422.8 MB, free: 2.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.02311, allocations: 1.518 MB / 424.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.0245, allocations: 1.037 MB / 425.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.0257, allocations: 0.9898 MB / 426.4 MB, free: 14.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.02589, allocations: 143.9 kB / 426.5 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009296/0.02682, allocations: 0.5927 MB / 427.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000511/0.02733, allocations: 0.7948 MB / 427.9 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.02781, allocations: 0.5493 MB / 428.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.03043, allocations: 2.605 MB / 431.1 MB, free: 9.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.03043, allocations: 3.938 kB / 431.1 MB, free: 9.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.03043, allocations: 0 / 431.1 MB, free: 9.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.03046, allocations: 0 / 431.1 MB, free: 9.895 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.002734/0.03319, allocations: 2.041 MB / 433.1 MB, free: 7.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.817e-05/0.03327, allocations: 8.031 kB / 433.1 MB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.03348, allocations: 241.5 kB / 433.3 MB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007597/0.03424, allocations: 315.5 kB / 433.7 MB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.03568, allocations: 1.228 MB / 434.9 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.03575, allocations: 98.77 kB / 435 MB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.03591, allocations: 128.3 kB / 435.1 MB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/0.03962, allocations: 3.034 MB / 438.1 MB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.03966, allocations: 19.83 kB / 438.2 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-05/0.03975, allocations: 55.97 kB / 438.2 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003911/0.04014, allocations: 434 kB / 438.6 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/0.04328, allocations: 2.144 MB / 440.8 MB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.05376, allocations: 10.43 MB / 451.2 MB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.05607, allocations: 1.255 MB / 452.5 MB, free: 3.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.05645, allocations: 375.1 kB / 452.8 MB, free: 3.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002344/0.05879, allocations: 2.066 MB / 454.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.05883, allocations: 43 kB / 454.9 MB, free: 1.383 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 5.921e-06/0.05883, allocations: 3.984 kB / 454.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.007944/0.06678, allocations: 3.872 MB / 458.8 MB, free: 13.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.06683, allocations: 89.53 kB / 458.9 MB, free: 13.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.0683, allocations: 1.456 MB / 460.4 MB, free: 11.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.06833, allocations: 33.7 kB / 460.4 MB, free: 11.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/0.06885, allocations: 0.974 MB / 461.4 MB, free: 10.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.06898, allocations: 226.2 kB / 461.6 MB, free: 10.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.06929, allocations: 307.3 kB / 461.9 MB, free: 10.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.06942, allocations: 309.1 kB / 462.2 MB, free: 10.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.06989, allocations: 411.7 kB / 462.6 MB, free: 9.621 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/0.07087, allocations: 1.268 MB / 463.9 MB, free: 7.938 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.07295, allocations: 1.792 MB / 465.6 MB, free: 5.723 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.07296, allocations: 8 kB / 465.7 MB, free: 5.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00203/0.07499, allocations: 1.717 MB / 467.4 MB, free: 3.992 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.07502, allocations: 16 kB / 467.4 MB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.07505, allocations: 28 kB / 467.4 MB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.07523, allocations: 92.77 kB / 467.5 MB, free: 3.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.07585, allocations: 351.4 kB / 467.9 MB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.07713, allocations: 1.758 MB / 469.6 MB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/0.07794, allocations: 108.1 kB / 469.7 MB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.07801, allocations: 88 kB / 469.8 MB, free: 1.449 MB / 442.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.0008165/0.07883, allocations: 0.6324 MB / 470.4 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.07899, allocations: 131.1 kB / 470.6 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2089/0.2878, allocations: 0.7076 MB / 471.3 MB, free: 98.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.2879, allocations: 5.656 kB / 471.3 MB, free: 98.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.2879, allocations: 4.812 kB / 471.3 MB, free: 98.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.2879, allocations: 3.344 kB / 471.3 MB, free: 98.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.2914, allocations: 2.16 MB / 473.4 MB, free: 98.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.2914, allocations: 6.344 kB / 473.4 MB, free: 98.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.2917, allocations: 96.19 kB / 473.5 MB, free: 98.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/0.2918, allocations: 67.7 kB / 473.6 MB, free: 98.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.2919, allocations: 17.56 kB / 473.6 MB, free: 98.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009833/0.2928, allocations: 1.834 MB / 475.5 MB, free: 96.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2928, allocations: 7.094 kB / 475.5 MB, free: 96.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/0.2938, allocations: 1.099 MB / 476.6 MB, free: 96.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.2941, allocations: 171.8 kB / 476.7 MB, free: 96.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.2942, allocations: 17.09 kB / 476.7 MB, free: 96.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.2945, allocations: 48.16 kB / 476.8 MB, free: 96.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.2945, allocations: 61.28 kB / 476.9 MB, free: 96.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2945, allocations: 19.81 kB / 476.9 MB, free: 96.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007605/0.2953, allocations: 0.9228 MB / 477.8 MB, free: 95.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2953, allocations: 3 kB / 477.8 MB, free: 95.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001047/0.2963, allocations: 362.9 kB / 478.2 MB, free: 95.93 MB / 442.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.001066/0.2974, allocations: 1.693 MB / 479.8 MB, free: 94.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.2985, allocations: 1.061 MB / 480.9 MB, free: 94.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2985, allocations: 0 / 480.9 MB, free: 94.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.2987, allocations: 388.2 kB / 481.3 MB, free: 94.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.2993, allocations: 197.4 kB / 481.5 MB, free: 94.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009929/0.3093, allocations: 12.12 MB / 493.6 MB, free: 87.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.3099, allocations: 0.8669 MB / 494.5 MB, free: 86.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006597/0.3106, allocations: 423.8 kB / 494.9 MB, free: 86.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.311, allocations: 0.5878 MB / 495.5 MB, free: 86.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/0.311, allocations: 0 / 495.5 MB, free: 86.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05036/0.3613, allocations: 25.77 MB / 0.509 GB, free: 77.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/8.028, allocations: 4.062 kB / 0.509 GB, free: 77.93 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.294242366217077]