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.001464/0.001464, allocations: 105.1 kB / 21.1 MB, free: 0.7617 MB / 14.72 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.001528/0.001528, allocations: 208.8 kB / 24.38 MB, free: 4.176 MB / 14.72 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 1.49/1.49, allocations: 230.2 MB / 257.7 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 178] 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.2461/0.2461, allocations: 46.89 MB / 361 MB, free: 4.48 MB / 286.1 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 0.00227/0.00227, allocations: 83.86 kB / 0.4962 GB, free: 8.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3318, allocations: 66.02 MB / 0.5607 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0114/0.3432, allocations: 8.658 MB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007869/0.351, allocations: 3.497 MB / 0.5725 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.3525, allocations: 55.75 kB / 0.5726 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.3556, allocations: 1.382 MB / 0.5739 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.3583, allocations: 0.9333 MB / 0.5748 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3596, allocations: 0.5224 MB / 0.5754 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.3624, allocations: 1.726 MB / 0.577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.3642, allocations: 1.167 MB / 0.5782 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.3654, allocations: 0.6699 MB / 0.5788 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.3671, allocations: 0.9424 MB / 0.5798 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.3675, allocations: 140 kB / 0.5799 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.3688, allocations: 0.5617 MB / 0.5804 GB, free: 344 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.3698, allocations: 0.7519 MB / 0.5812 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.371, allocations: 0.8315 MB / 0.582 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.3745, allocations: 2.475 MB / 0.5844 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3746, allocations: 3.938 kB / 0.5844 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3746, allocations: 4 kB / 0.5844 GB, free: 12.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.38e-05/0.3746, allocations: 0 / 0.5844 GB, free: 12.25 MB / 430.1 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.004395/0.379, allocations: 2.058 MB / 0.5864 GB, free: 10.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.379, allocations: 8.031 kB / 0.5864 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003633/0.3794, allocations: 245.5 kB / 0.5867 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.3806, allocations: 287.5 kB / 0.5869 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.3834, allocations: 1.294 MB / 0.5882 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.604e-05/0.3835, allocations: 94.39 kB / 0.5883 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.3838, allocations: 124 kB / 0.5884 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006491/0.3902, allocations: 2.999 MB / 0.5913 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.93e-05/0.3903, allocations: 11.89 kB / 0.5913 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.3904, allocations: 59.97 kB / 0.5914 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006629/0.3911, allocations: 438 kB / 0.5918 GB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005343/0.3965, allocations: 2.171 MB / 0.5939 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.4115, allocations: 10.72 MB / 0.6044 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004029/0.4156, allocations: 1.202 MB / 0.6056 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000657/0.4162, allocations: 375 kB / 0.6059 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004559/0.4208, allocations: 3.076 MB / 0.6089 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.4208, allocations: 39 kB / 0.609 GB, free: 2.195 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.896e-06/0.4208, allocations: 0 / 0.609 GB, free: 2.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01222/0.433, allocations: 3.812 MB / 0.6127 GB, free: 14.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.4331, allocations: 85.61 kB / 0.6128 GB, free: 14.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.4349, allocations: 1.194 MB / 0.6139 GB, free: 12.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/0.4349, allocations: 41.64 kB / 0.614 GB, free: 12.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/0.4358, allocations: 0.9623 MB / 0.6149 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.436, allocations: 230.2 kB / 0.6151 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.4365, allocations: 315.3 kB / 0.6154 GB, free: 11.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4366, allocations: 305.1 kB / 0.6157 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/0.4373, allocations: 407.7 kB / 0.6161 GB, free: 10.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.4389, allocations: 1.254 MB / 0.6174 GB, free: 9.035 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/0.4416, allocations: 1.799 MB / 0.6191 GB, free: 6.824 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.4416, allocations: 11.94 kB / 0.6191 GB, free: 6.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003276/0.4449, allocations: 1.723 MB / 0.6208 GB, free: 5.078 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.4449, allocations: 19.94 kB / 0.6208 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/0.445, allocations: 28 kB / 0.6209 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.4452, allocations: 88.83 kB / 0.6209 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.4464, allocations: 351.3 kB / 0.6213 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.4484, allocations: 1.877 MB / 0.6231 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009844/0.4493, allocations: 76.03 kB / 0.6232 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.4494, allocations: 88 kB / 0.6233 GB, free: 2.414 MB / 462.1 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.00104/0.4505, allocations: 0.6406 MB / 0.6239 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.4507, allocations: 123.2 kB / 0.624 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.451, allocations: 135.6 kB / 0.6241 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.451, allocations: 8 kB / 0.6241 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.451, allocations: 4 kB / 0.6241 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.451, allocations: 3.984 kB / 0.6241 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003996/0.455, allocations: 2.235 MB / 0.6263 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.455, allocations: 4 kB / 0.6263 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.4554, allocations: 99.88 kB / 0.6264 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.4556, allocations: 64.77 kB / 0.6265 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.4556, allocations: 12 kB / 0.6265 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.4576, allocations: 1.937 MB / 0.6284 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4577, allocations: 8.062 kB / 0.6284 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.4595, allocations: 1.115 MB / 0.6295 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.4598, allocations: 192.3 kB / 0.6297 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.4599, allocations: 16 kB / 0.6297 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.4604, allocations: 27.92 kB / 0.6297 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.4604, allocations: 47.92 kB / 0.6298 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.4605, allocations: 20 kB / 0.6298 GB, free: 11.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001311/0.4618, allocations: 0.7635 MB / 0.6305 GB, free: 10.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4618, allocations: 0 / 0.6305 GB, free: 10.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001511/0.4633, allocations: 295.9 kB / 0.6308 GB, free: 10.34 MB / 478.1 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.002322/0.4656, allocations: 1.688 MB / 0.6325 GB, free: 8.566 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.4678, allocations: 1.065 MB / 0.6335 GB, free: 7.492 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.4678, allocations: 0 / 0.6335 GB, free: 7.492 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007598/0.4686, allocations: 395.8 kB / 0.6339 GB, free: 7.094 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.4699, allocations: 184.7 kB / 0.634 GB, free: 6.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/0.4909, allocations: 11.52 MB / 0.6453 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.4927, allocations: 1.443 MB / 0.6467 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.4938, allocations: 409.5 kB / 0.6471 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008992/0.4947, allocations: 0.5812 MB / 0.6477 GB, free: 7.883 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4947, allocations: 0 / 0.6477 GB, free: 7.883 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/0.5606, allocations: 24.27 MB / 0.6714 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.49, allocations: 10.72 kB / 0.6714 GB, free: 15.77 MB / 0.5137 GB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/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: 15.621204411843792]