Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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.001911/0.001911, 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.002361/0.002361, 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.573/1.573, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.242/0.242, allocations: 46.92 MB / 357.1 MB, free: 10.36 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.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.91 kB / 0.4909 GB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1566, allocations: 65.99 MB / 0.5554 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01551/0.1721, allocations: 12.32 MB / 0.5674 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009304/0.1814, allocations: 3.886 MB / 0.5712 GB, free: 5.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.1836, allocations: 71.75 kB / 0.5713 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.1871, allocations: 1.331 MB / 0.5726 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.1921, allocations: 1.755 MB / 0.5743 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.1935, allocations: 427.2 kB / 0.5747 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005976/0.1995, allocations: 3.594 MB / 0.5782 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003313/0.2028, allocations: 1.775 MB / 0.5799 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.2056, allocations: 1.211 MB / 0.5811 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00345/0.2091, allocations: 1.923 MB / 0.583 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.2101, allocations: 240 kB / 0.5832 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.2126, allocations: 0.8347 MB / 0.584 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002512/0.2152, allocations: 1.608 MB / 0.5856 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003733/0.2189, allocations: 1.875 MB / 0.5874 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3719/0.5908, allocations: 6.093 MB / 0.5934 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5908, allocations: 3 kB / 0.5934 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5908, allocations: 1.781 kB / 0.5934 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002753/0.591, allocations: 0 / 0.5934 GB, free: 12.14 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01276/0.6038, allocations: 4.146 MB / 0.5974 GB, free: 10.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.6038, allocations: 10.34 kB / 0.5975 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002686/0.6065, allocations: 0.7018 MB / 0.5981 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/0.6201, allocations: 3.104 MB / 0.6012 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006604/0.6267, allocations: 2.134 MB / 0.6033 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003693/0.6271, allocations: 189 kB / 0.6034 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.6289, allocations: 250.3 kB / 0.6037 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02645/0.6553, allocations: 10.18 MB / 0.6136 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002503/0.6556, allocations: 21.91 kB / 0.6136 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001728/0.6573, allocations: 118.9 kB / 0.6138 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005012/0.6623, allocations: 2.466 MB / 0.6162 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/0.6835, allocations: 9.346 MB / 0.6253 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05805/0.7416, allocations: 31.52 MB / 0.6561 GB, free: 5.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/0.7484, allocations: 3.245 MB / 0.6592 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.7504, allocations: 0.9997 MB / 0.6602 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/0.7518, allocations: 1.315 MB / 0.6615 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/0.7519, allocations: 43.88 kB / 0.6615 GB, free: 15.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 6.351e-06/0.7519, allocations: 0 / 0.6615 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02501/0.7769, allocations: 9.17 MB / 0.6705 GB, free: 6.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.7769, allocations: 64.72 kB / 0.6706 GB, free: 6.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004701/0.7816, allocations: 2.615 MB / 0.6731 GB, free: 3.766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003192/0.782, allocations: 53.7 kB / 0.6732 GB, free: 3.707 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002575/0.7845, allocations: 2.778 MB / 0.6759 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.7856, allocations: 0.7346 MB / 0.6766 GB, free: 232 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002082/0.7877, allocations: 0.9726 MB / 0.6775 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7879, allocations: 305.1 kB / 0.6778 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002968/0.7908, allocations: 1.536 MB / 0.6793 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006175/0.797, allocations: 4.386 MB / 0.6836 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009675/0.8067, allocations: 6.547 MB / 0.69 GB, free: 140 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.8068, allocations: 28 kB / 0.69 GB, free: 112 kB / 0.4981 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01269/0.8195, allocations: 5.846 MB / 0.6957 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.8196, allocations: 53.81 kB / 0.6958 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/0.8197, allocations: 100 kB / 0.6959 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004515/0.8202, allocations: 176.9 kB / 0.6961 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/0.8241, allocations: 1.064 MB / 0.6971 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.8263, allocations: 1.797 MB / 0.6989 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.8301, allocations: 203.9 kB / 0.6991 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/0.8311, allocations: 295.9 kB / 0.6993 GB, free: 6.863 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (592): * Single equations (assignments): 585 * Array equations: 6 * 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.004747/0.8358, allocations: 1.994 MB / 0.7013 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006574/0.8365, allocations: 258.2 kB / 0.7015 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/0.842, allocations: 2.532 MB / 0.704 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.906e-05/0.842, allocations: 20 kB / 0.704 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.8421, allocations: 4.625 kB / 0.704 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.8421, allocations: 11.97 kB / 0.704 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/0.8608, allocations: 7.938 MB / 0.7118 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/0.8608, allocations: 8 kB / 0.7118 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.862, allocations: 247.6 kB / 0.712 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/0.8623, allocations: 60.77 kB / 0.7121 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/0.8625, allocations: 40 kB / 0.7121 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.8643, allocations: 1.622 MB / 0.7137 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.575e-05/0.8643, allocations: 16.12 kB / 0.7137 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00713/0.8714, allocations: 4.035 MB / 0.7177 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009324/0.8724, allocations: 307.4 kB / 0.718 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006881/0.873, allocations: 47.98 kB / 0.718 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.8743, allocations: 63.8 kB / 0.7181 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.8747, allocations: 124.6 kB / 0.7182 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.8749, allocations: 63.92 kB / 0.7182 GB, free: 3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003715/0.8786, allocations: 1.603 MB / 0.7198 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8786, allocations: 0 / 0.7198 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005499/0.8841, allocations: 0.7803 MB / 0.7206 GB, free: 0.6055 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.007257/0.8914, allocations: 4.703 MB / 0.7252 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007195/0.8985, allocations: 3.716 MB / 0.7288 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/0.8986, allocations: 0 / 0.7288 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.9007, allocations: 1.166 MB / 0.7299 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.9033, allocations: 344.2 kB / 0.7303 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06802/0.9713, allocations: 33.34 MB / 0.7628 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006163/0.9775, allocations: 3.135 MB / 0.7659 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004448/0.9819, allocations: 1.71 MB / 0.7675 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003384/0.9853, allocations: 1.698 MB / 0.7692 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.713e-06/0.9853, allocations: 0 / 0.7692 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.096, allocations: 46.01 MB / 0.8141 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.71/18.81, allocations: 7.938 kB / 0.8141 GB, free: 12.67 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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: 22.194356798994704]