Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9462/0.9462, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2815/0.2815, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_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 / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.688e-05, allocations: 6.219 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2008/0.2008, allocations: 7.637 MB / 449.8 MB, free: 40.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004553/0.2054, allocations: 3.301 MB / 453.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008167/0.2062, allocations: 52.34 kB / 453.2 MB, free: 38.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.2076, allocations: 1.387 MB / 454.5 MB, free: 37.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.2091, allocations: 0.9717 MB / 455.5 MB, free: 37.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.2099, allocations: 0.5563 MB / 456.1 MB, free: 36.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.2112, allocations: 2.056 MB / 458.1 MB, free: 36.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009822/0.2122, allocations: 1.508 MB / 459.6 MB, free: 35.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008143/0.213, allocations: 1.018 MB / 460.7 MB, free: 35.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.2138, allocations: 0.9937 MB / 461.6 MB, free: 34.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.2139, allocations: 141.8 kB / 461.8 MB, free: 34.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.2146, allocations: 0.5607 MB / 462.3 MB, free: 34.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004046/0.215, allocations: 0.7942 MB / 463.1 MB, free: 34.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.2154, allocations: 0.5293 MB / 463.7 MB, free: 34.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.217, allocations: 2.561 MB / 466.2 MB, free: 33.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.217, allocations: 7.938 kB / 466.2 MB, free: 33.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.217, allocations: 0 / 466.2 MB, free: 33.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.2171, allocations: 0 / 466.2 MB, free: 33.23 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.002306/0.2194, allocations: 2.015 MB / 468.3 MB, free: 32.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.2194, allocations: 9.719 kB / 468.3 MB, free: 32.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.2196, allocations: 249.8 kB / 468.5 MB, free: 31.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007083/0.2203, allocations: 312.8 kB / 468.8 MB, free: 31.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.2216, allocations: 1.061 MB / 469.9 MB, free: 31.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.576e-05/0.2216, allocations: 102.8 kB / 470 MB, free: 31.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.2218, allocations: 122.8 kB / 470.1 MB, free: 31.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.2252, allocations: 3.046 MB / 473.1 MB, free: 29.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.2252, allocations: 24.91 kB / 473.2 MB, free: 29.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.2253, allocations: 61.94 kB / 473.2 MB, free: 29.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003815/0.2257, allocations: 427.2 kB / 473.6 MB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/0.2289, allocations: 2.165 MB / 475.8 MB, free: 28.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008299/0.2372, allocations: 10.36 MB / 486.2 MB, free: 21.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.2397, allocations: 1.273 MB / 487.4 MB, free: 21.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.2401, allocations: 374.2 kB / 487.8 MB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002758/0.2429, allocations: 2.067 MB / 489.9 MB, free: 20.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2429, allocations: 37.44 kB / 489.9 MB, free: 20.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 2.124e-06/0.2429, allocations: 0 / 489.9 MB, free: 20.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.008005/0.2509, allocations: 3.816 MB / 493.7 MB, free: 19.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.251, allocations: 88.52 kB / 493.8 MB, free: 19.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.2528, allocations: 1.395 MB / 495.2 MB, free: 18.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.2528, allocations: 36.89 kB / 495.2 MB, free: 18.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.2533, allocations: 0.9578 MB / 496.2 MB, free: 17.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.2534, allocations: 229.7 kB / 496.4 MB, free: 17.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.2537, allocations: 314.1 kB / 496.7 MB, free: 17.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.2537, allocations: 302.9 kB / 497 MB, free: 17.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.2543, allocations: 415.7 kB / 497.4 MB, free: 17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/0.2552, allocations: 1.281 MB / 498.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.2567, allocations: 1.802 MB / 0.4888 GB, free: 14.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.2567, allocations: 8.719 kB / 0.4888 GB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002085/0.2588, allocations: 1.723 MB / 0.4905 GB, free: 13.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.2588, allocations: 18.22 kB / 0.4905 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.391e-05/0.2589, allocations: 28.62 kB / 0.4905 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.2591, allocations: 87.58 kB / 0.4906 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.2598, allocations: 355.8 kB / 0.4909 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.2608, allocations: 1.764 MB / 0.4927 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008263/0.2616, allocations: 105.2 kB / 0.4928 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.834e-05/0.2617, allocations: 85.41 kB / 0.4929 GB, free: 11.79 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.000869/0.2626, allocations: 0.632 MB / 0.4935 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.2627, allocations: 121 kB / 0.4936 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.2629, allocations: 137.7 kB / 0.4937 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2629, allocations: 10.31 kB / 0.4937 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.2629, allocations: 0.9688 kB / 0.4937 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2629, allocations: 2.906 kB / 0.4937 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.266, allocations: 2.166 MB / 0.4958 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.266, allocations: 7.625 kB / 0.4959 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.2663, allocations: 95.55 kB / 0.4959 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.2664, allocations: 72.62 kB / 0.496 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2664, allocations: 10.62 kB / 0.496 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.2676, allocations: 1.835 MB / 0.4978 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.2676, allocations: 13.14 kB / 0.4978 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.2689, allocations: 1.106 MB / 0.4989 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.2692, allocations: 127.1 kB / 0.499 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/0.2693, allocations: 16.98 kB / 0.499 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.2696, allocations: 47.7 kB / 0.4991 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.2696, allocations: 46.5 kB / 0.4991 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.2697, allocations: 19.48 kB / 0.4992 GB, free: 7.898 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001195/0.2709, allocations: 0.8845 MB / 0.5 GB, free: 7.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2709, allocations: 3.938 kB / 0.5 GB, free: 7.562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001617/0.2725, allocations: 357.7 kB / 0.5004 GB, free: 7.523 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.001344/0.2738, allocations: 1.691 MB / 0.502 GB, free: 6.164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.2754, allocations: 1.057 MB / 0.503 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2754, allocations: 0 / 0.503 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.2757, allocations: 396.5 kB / 0.5034 GB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007454/0.2765, allocations: 183.7 kB / 0.5036 GB, free: 4.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.2886, allocations: 11.93 MB / 0.5152 GB, free: 8.355 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.2894, allocations: 0.8591 MB / 0.5161 GB, free: 7.461 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007567/0.2902, allocations: 417.5 kB / 0.5165 GB, free: 7.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005863/0.2908, allocations: 0.5862 MB / 0.5171 GB, free: 6.465 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2908, allocations: 0 / 0.5171 GB, free: 6.465 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05103/0.3418, allocations: 25.23 MB / 0.5417 GB, free: 13.56 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.182, allocations: 4 kB / 0.5417 GB, free: 13.55 MB / 458.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.430732369422913]