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.001626/0.001626, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001759/0.001759, allocations: 212.5 kB / 23.73 MB, free: 4.41 MB / 14.72 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 1.621/1.621, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.2308/0.2308, allocations: 46.97 MB / 360.9 MB, free: 4.137 MB / 286.1 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 0.002102/0.002102, allocations: 59.91 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01122/0.3534, allocations: 7.637 MB / 0.5681 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007645/0.361, allocations: 3.283 MB / 0.5713 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.3628, allocations: 55.75 kB / 0.5713 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003188/0.3659, allocations: 1.328 MB / 0.5726 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.3687, allocations: 0.9379 MB / 0.5735 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3701, allocations: 0.5186 MB / 0.574 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.3729, allocations: 1.726 MB / 0.5757 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.3748, allocations: 1.249 MB / 0.5769 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.376, allocations: 0.6776 MB / 0.5776 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.3775, allocations: 0.876 MB / 0.5785 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003403/0.3778, allocations: 136 kB / 0.5786 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.379, allocations: 0.5617 MB / 0.5791 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007406/0.3797, allocations: 0.7519 MB / 0.5799 GB, free: 400 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007438/0.3804, allocations: 0.6451 MB / 0.5805 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.3832, allocations: 2.502 MB / 0.5829 GB, free: 13.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3832, allocations: 0 / 0.5829 GB, free: 13.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3832, allocations: 4 kB / 0.5829 GB, free: 13.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.838e-05/0.3832, allocations: 0 / 0.5829 GB, free: 13.23 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.003412/0.3866, allocations: 1.982 MB / 0.5849 GB, free: 11.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3867, allocations: 8.031 kB / 0.5849 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002838/0.3869, allocations: 245.5 kB / 0.5851 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.3881, allocations: 291.5 kB / 0.5854 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.3906, allocations: 1.226 MB / 0.5866 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.3907, allocations: 98.39 kB / 0.5867 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.3909, allocations: 124 kB / 0.5868 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00562/0.3965, allocations: 3.046 MB / 0.5898 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/0.3966, allocations: 15.83 kB / 0.5898 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.3967, allocations: 59.97 kB / 0.5899 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000655/0.3973, allocations: 438 kB / 0.5903 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004741/0.4021, allocations: 2.171 MB / 0.5924 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.4153, allocations: 10.24 MB / 0.6024 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003911/0.4192, allocations: 1.201 MB / 0.6036 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.4198, allocations: 378.9 kB / 0.6039 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003714/0.4235, allocations: 2.011 MB / 0.6059 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.4235, allocations: 39 kB / 0.6059 GB, free: 5.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 3.236e-06/0.4236, allocations: 0 / 0.6059 GB, free: 5.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01196/0.4355, allocations: 3.59 MB / 0.6094 GB, free: 1.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.4356, allocations: 85.55 kB / 0.6095 GB, free: 1.312 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.4373, allocations: 1.24 MB / 0.6107 GB, free: 60 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.4374, allocations: 37.69 kB / 0.6108 GB, free: 16 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007746/0.4381, allocations: 0.9663 MB / 0.6117 GB, free: 15.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.4383, allocations: 226.2 kB / 0.6119 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.4387, allocations: 311.3 kB / 0.6122 GB, free: 14.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4389, allocations: 301.1 kB / 0.6125 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006821/0.4395, allocations: 419.7 kB / 0.6129 GB, free: 13.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.441, allocations: 1.271 MB / 0.6142 GB, free: 12.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.4434, allocations: 1.806 MB / 0.6159 GB, free: 9.887 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/0.4434, allocations: 8 kB / 0.6159 GB, free: 9.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003012/0.4464, allocations: 1.719 MB / 0.6176 GB, free: 8.148 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.4465, allocations: 20 kB / 0.6176 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.53e-05/0.4465, allocations: 28 kB / 0.6176 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/0.4468, allocations: 84.83 kB / 0.6177 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.4479, allocations: 359.3 kB / 0.6181 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.4498, allocations: 1.762 MB / 0.6198 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.451, allocations: 71.91 kB / 0.6199 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.4511, allocations: 88.28 kB / 0.6199 GB, free: 5.629 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.001037/0.4522, allocations: 0.64 MB / 0.6206 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.4524, allocations: 123.3 kB / 0.6207 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.4527, allocations: 143.6 kB / 0.6208 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.4527, allocations: 7.984 kB / 0.6208 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.4527, allocations: 0 / 0.6208 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4527, allocations: 4 kB / 0.6208 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00495/0.4577, allocations: 2.129 MB / 0.6229 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.4577, allocations: 4 kB / 0.6229 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.4581, allocations: 103.8 kB / 0.623 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.4583, allocations: 65.33 kB / 0.6231 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.4584, allocations: 19.98 kB / 0.6231 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.4602, allocations: 1.825 MB / 0.6249 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.4602, allocations: 7.938 kB / 0.6249 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.462, allocations: 1.123 MB / 0.626 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.4623, allocations: 107.2 kB / 0.6261 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.4625, allocations: 19.98 kB / 0.6261 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.463, allocations: 27.92 kB / 0.6261 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.463, allocations: 47.86 kB / 0.6262 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.4631, allocations: 23.94 kB / 0.6262 GB, free: 14.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001268/0.4643, allocations: 0.7596 MB / 0.6269 GB, free: 14.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4643, allocations: 4.062 kB / 0.6269 GB, free: 14.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001587/0.4659, allocations: 292 kB / 0.6272 GB, free: 13.88 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.002232/0.4682, allocations: 1.68 MB / 0.6289 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.4701, allocations: 1.069 MB / 0.6299 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4701, allocations: 0.625 kB / 0.6299 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006045/0.4707, allocations: 398.3 kB / 0.6303 GB, free: 10.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.4718, allocations: 184.5 kB / 0.6305 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.4897, allocations: 11.51 MB / 0.6417 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.4909, allocations: 0.8629 MB / 0.6425 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009781/0.4919, allocations: 413.5 kB / 0.6429 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007444/0.4927, allocations: 0.5774 MB / 0.6435 GB, free: 12.01 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4927, allocations: 0 / 0.6435 GB, free: 12.01 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/0.5559, allocations: 24.01 MB / 0.667 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.29, allocations: 7.5 kB / 0.667 GB, free: 4.352 MB / 0.4981 GB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/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: 16.565920596942306]