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.0008268/0.0008268, allocations: 76.53 kB / 19.92 MB, free: 4.637 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.0008967/0.0008967, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9158/0.9158, allocations: 158.6 MB / 185 MB, free: 3.027 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.1416/0.1416, 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.903e-06/1.903e-06, allocations: 0 / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.522e-05, allocations: 10.08 kB / 406.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007283/0.007309, allocations: 7.699 MB / 414.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00555/0.01286, allocations: 3.266 MB / 417.8 MB, free: 7.223 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.014, allocations: 51.75 kB / 417.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.01566, allocations: 1.405 MB / 419.3 MB, free: 5.762 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.01747, allocations: 0.9993 MB / 420.3 MB, free: 4.758 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008372/0.01831, allocations: 0.569 MB / 420.8 MB, free: 4.188 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.02031, allocations: 1.998 MB / 422.8 MB, free: 2.184 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.02152, allocations: 1.514 MB / 424.4 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.02253, allocations: 1.037 MB / 425.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009384/0.02347, allocations: 0.9976 MB / 426.4 MB, free: 14.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.02363, allocations: 140 kB / 426.5 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007488/0.02438, allocations: 0.5966 MB / 427.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.02487, allocations: 0.7987 MB / 427.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007057/0.02557, allocations: 0.5415 MB / 428.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.02757, allocations: 2.605 MB / 431.1 MB, free: 9.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.02757, allocations: 3.938 kB / 431.1 MB, free: 9.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02757, allocations: 0 / 431.1 MB, free: 9.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.02759, 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.002392/0.02999, allocations: 2.037 MB / 433.1 MB, free: 7.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.03003, allocations: 8.031 kB / 433.1 MB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002127/0.03024, allocations: 245.5 kB / 433.4 MB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006968/0.03094, allocations: 311.5 kB / 433.7 MB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.03228, allocations: 1.228 MB / 434.9 MB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.03233, allocations: 98.83 kB / 435 MB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.03246, allocations: 124.3 kB / 435.1 MB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/0.03596, allocations: 3.038 MB / 438.1 MB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.036, allocations: 15.83 kB / 438.2 MB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.03609, allocations: 63.95 kB / 438.2 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003577/0.03644, allocations: 430 kB / 438.6 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.03924, allocations: 2.148 MB / 440.8 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.04932, allocations: 10.43 MB / 451.2 MB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.05153, allocations: 1.251 MB / 452.5 MB, free: 3.902 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.05189, allocations: 375.1 kB / 452.8 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00246/0.05435, allocations: 2.074 MB / 454.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.05438, allocations: 39.06 kB / 454.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 3.146e-06/0.05439, allocations: 0 / 454.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.007623/0.06201, allocations: 3.879 MB / 458.8 MB, free: 13.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.06206, allocations: 81.61 kB / 458.9 MB, free: 13.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.06343, allocations: 1.46 MB / 460.4 MB, free: 11.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.06346, allocations: 29.7 kB / 460.4 MB, free: 11.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004743/0.06393, allocations: 0.9703 MB / 461.4 MB, free: 10.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.06406, allocations: 234.2 kB / 461.6 MB, free: 10.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.06432, allocations: 307.3 kB / 461.9 MB, free: 10.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.0644, allocations: 309.1 kB / 462.2 MB, free: 10.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.0648, allocations: 407.7 kB / 462.6 MB, free: 9.629 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007984/0.0656, allocations: 1.272 MB / 463.9 MB, free: 7.941 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.06717, allocations: 1.788 MB / 465.7 MB, free: 5.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.06718, allocations: 8 kB / 465.7 MB, free: 5.723 MB / 442.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001737/0.06892, allocations: 1.713 MB / 467.4 MB, free: 4.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.06895, allocations: 20 kB / 467.4 MB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.06898, allocations: 28 kB / 467.4 MB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.06916, allocations: 92.77 kB / 467.5 MB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.06979, allocations: 351.4 kB / 467.9 MB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.07106, allocations: 1.766 MB / 469.6 MB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.07178, allocations: 99.91 kB / 469.7 MB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/0.07186, allocations: 88 kB / 469.8 MB, free: 1.457 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.0007778/0.07264, allocations: 0.6363 MB / 470.4 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.07277, allocations: 135.2 kB / 470.6 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1874/0.2602, allocations: 0.7018 MB / 471.3 MB, free: 98.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.2602, allocations: 5.719 kB / 471.3 MB, free: 98.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2602, allocations: 5.562 kB / 471.3 MB, free: 98.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.2602, allocations: 2.859 kB / 471.3 MB, free: 98.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.2629, allocations: 2.162 MB / 473.4 MB, free: 98.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2629, allocations: 6.188 kB / 473.5 MB, free: 98.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.2632, allocations: 95.05 kB / 473.5 MB, free: 98.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.2633, allocations: 68.08 kB / 473.6 MB, free: 98.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.2633, allocations: 17.66 kB / 473.6 MB, free: 98.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009588/0.2643, allocations: 1.833 MB / 475.5 MB, free: 96.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2643, allocations: 3.25 kB / 475.5 MB, free: 96.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2653, allocations: 1.097 MB / 476.6 MB, free: 96.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.2657, allocations: 177.2 kB / 476.7 MB, free: 96.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-05/0.2658, allocations: 17.62 kB / 476.8 MB, free: 96.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.266, allocations: 49.56 kB / 476.8 MB, free: 96.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.2661, allocations: 51.84 kB / 476.9 MB, free: 96.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.2661, allocations: 19.81 kB / 476.9 MB, free: 96.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007396/0.2669, allocations: 0.9283 MB / 477.8 MB, free: 95.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2669, allocations: 0.7656 kB / 477.8 MB, free: 95.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001046/0.2679, allocations: 364.8 kB / 478.2 MB, free: 95.9 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.001138/0.269, allocations: 1.692 MB / 479.9 MB, free: 94.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.2702, allocations: 1.062 MB / 480.9 MB, free: 94.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.2702, allocations: 3.062 kB / 480.9 MB, free: 94.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.2705, allocations: 389.6 kB / 481.3 MB, free: 94.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.2712, allocations: 189.6 kB / 481.5 MB, free: 94.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.2821, allocations: 12.12 MB / 493.6 MB, free: 87.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.2828, allocations: 0.8643 MB / 494.5 MB, free: 86.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006732/0.2835, allocations: 418.1 kB / 494.9 MB, free: 86.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.2839, allocations: 0.5904 MB / 495.5 MB, free: 86.43 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2839, allocations: 0 / 495.5 MB, free: 86.43 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04998/0.3339, allocations: 25.78 MB / 0.509 GB, free: 77.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.636, allocations: 8.062 kB / 0.509 GB, free: 77.93 MB / 442.7 MB " [Timeout remaining time 651] (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.844507679343224]