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.001729/0.001729, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002168/0.002168, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.567/1.567, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2279/0.2279, allocations: 46.91 MB / 357.1 MB, free: 10.33 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.002711/0.002711, allocations: 63.89 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1637, allocations: 65.99 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01192/0.1756, allocations: 8.691 MB / 0.5639 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008003/0.1836, allocations: 3.483 MB / 0.5673 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.1853, allocations: 51.75 kB / 0.5673 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.1886, allocations: 1.386 MB / 0.5687 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.1916, allocations: 0.93 MB / 0.5696 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.193, allocations: 0.5147 MB / 0.5701 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.1961, allocations: 1.73 MB / 0.5718 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.1983, allocations: 1.374 MB / 0.5731 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.1997, allocations: 0.6776 MB / 0.5738 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.2014, allocations: 0.9464 MB / 0.5747 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005193/0.202, allocations: 136 kB / 0.5748 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.2036, allocations: 0.589 MB / 0.5754 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.2048, allocations: 0.748 MB / 0.5761 GB, free: 492 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001796/0.2066, allocations: 0.8275 MB / 0.5769 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004138/0.2108, allocations: 2.487 MB / 0.5794 GB, free: 13.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2108, allocations: 0 / 0.5794 GB, free: 13.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.2108, allocations: 0 / 0.5794 GB, free: 13.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001075/0.2109, allocations: 3.984 kB / 0.5794 GB, free: 13.15 MB / 446.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.005184/0.2161, allocations: 2.05 MB / 0.5814 GB, free: 11.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.2161, allocations: 8.031 kB / 0.5814 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000345/0.2165, allocations: 249.5 kB / 0.5816 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.2177, allocations: 287.5 kB / 0.5819 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.2203, allocations: 1.294 MB / 0.5832 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-05/0.2204, allocations: 98.39 kB / 0.5832 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.2206, allocations: 124 kB / 0.5834 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00617/0.2268, allocations: 3.004 MB / 0.5863 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.123e-05/0.2268, allocations: 11.89 kB / 0.5863 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.227, allocations: 55.97 kB / 0.5864 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006929/0.2276, allocations: 434 kB / 0.5868 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00557/0.2332, allocations: 2.183 MB / 0.5889 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2967/0.5299, allocations: 10.71 MB / 0.5994 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/0.5343, allocations: 1.195 MB / 0.6005 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006657/0.535, allocations: 379.3 kB / 0.6009 GB, free: 28.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004052/0.5391, allocations: 3.081 MB / 0.6039 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.5391, allocations: 38.47 kB / 0.6039 GB, free: 26.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.444e-06/0.5391, allocations: 0 / 0.6039 GB, free: 26.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01356/0.5526, allocations: 3.812 MB / 0.6077 GB, free: 25.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.5527, allocations: 93.73 kB / 0.6078 GB, free: 24.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.5547, allocations: 1.195 MB / 0.6089 GB, free: 24.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.5548, allocations: 35.23 kB / 0.609 GB, free: 24.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006698/0.5555, allocations: 0.9683 MB / 0.6099 GB, free: 23.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.5557, allocations: 224.5 kB / 0.6101 GB, free: 23.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/0.5561, allocations: 313.6 kB / 0.6104 GB, free: 23.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.5561, allocations: 302.1 kB / 0.6107 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/0.5569, allocations: 412.1 kB / 0.6111 GB, free: 23.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.558, allocations: 1.247 MB / 0.6123 GB, free: 21.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.5599, allocations: 1.808 MB / 0.6141 GB, free: 20.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/0.5599, allocations: 9.625 kB / 0.6141 GB, free: 20.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003122/0.563, allocations: 1.714 MB / 0.6158 GB, free: 19.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.563, allocations: 17.88 kB / 0.6158 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-05/0.5631, allocations: 30.38 kB / 0.6158 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.5633, allocations: 92.2 kB / 0.6159 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.5644, allocations: 354.8 kB / 0.6162 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.5658, allocations: 1.878 MB / 0.6181 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.5669, allocations: 65.75 kB / 0.6181 GB, free: 17.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.567, allocations: 85.34 kB / 0.6182 GB, free: 17.73 MB / 446.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.001076/0.5681, allocations: 0.6433 MB / 0.6188 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.5683, allocations: 123.9 kB / 0.619 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.5686, allocations: 138.1 kB / 0.6191 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5686, allocations: 6.094 kB / 0.6191 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/0.5686, allocations: 1 kB / 0.6191 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.5686, allocations: 3.859 kB / 0.6191 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.5723, allocations: 2.233 MB / 0.6213 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5723, allocations: 7.406 kB / 0.6213 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.5727, allocations: 103.8 kB / 0.6214 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/0.573, allocations: 67.53 kB / 0.6215 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.573, allocations: 14.41 kB / 0.6215 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.5743, allocations: 1.947 MB / 0.6234 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.5743, allocations: 4.156 kB / 0.6234 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.5759, allocations: 1.127 MB / 0.6245 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.5762, allocations: 184.2 kB / 0.6246 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.5763, allocations: 16.09 kB / 0.6247 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.5767, allocations: 26.5 kB / 0.6247 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5768, allocations: 51.97 kB / 0.6247 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.5769, allocations: 15.12 kB / 0.6248 GB, free: 13.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009758/0.5778, allocations: 0.7623 MB / 0.6255 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5778, allocations: 1.156 kB / 0.6255 GB, free: 13.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001613/0.5795, allocations: 291.7 kB / 0.6258 GB, free: 13.23 MB / 446.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.00166/0.5811, allocations: 1.678 MB / 0.6274 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.5829, allocations: 1.074 MB / 0.6285 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5829, allocations: 0 / 0.6285 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.5834, allocations: 395.6 kB / 0.6288 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5844, allocations: 186.7 kB / 0.629 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.5969, allocations: 11.49 MB / 0.6402 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.5981, allocations: 1.443 MB / 0.6417 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009699/0.5991, allocations: 417.5 kB / 0.642 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007257/0.5998, allocations: 0.5774 MB / 0.6426 GB, free: 13.93 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5998, allocations: 0 / 0.6426 GB, free: 13.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06239/0.6622, allocations: 23.15 MB / 0.6652 GB, free: 7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.75, allocations: 19.75 kB / 0.6652 GB, free: 6.984 MB / 478.1 MB " [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.046830423001666]