Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001831/0.001831, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002262/0.002262, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2449/0.2449, allocations: 44.94 MB / 358.8 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3304, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01397/0.3443, allocations: 10.71 MB / 0.5674 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008766/0.3531, allocations: 3.676 MB / 0.571 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.3549, allocations: 67.75 kB / 0.5711 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.3579, allocations: 1.304 MB / 0.5724 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.3625, allocations: 1.771 MB / 0.5741 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.3636, allocations: 423.2 kB / 0.5745 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005038/0.3687, allocations: 3.593 MB / 0.578 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.3712, allocations: 1.838 MB / 0.5798 GB, free: 40 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.3731, allocations: 1.214 MB / 0.581 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.3759, allocations: 1.845 MB / 0.5828 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.3764, allocations: 240 kB / 0.583 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.378, allocations: 0.7099 MB / 0.5837 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00171/0.3797, allocations: 1.601 MB / 0.5853 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001856/0.3816, allocations: 1.342 MB / 0.5866 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008528/0.3901, allocations: 6.13 MB / 0.5926 GB, free: 2.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3901, allocations: 0 / 0.5926 GB, free: 2.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3901, allocations: 0 / 0.5926 GB, free: 2.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002266/0.3904, allocations: 0 / 0.5926 GB, free: 2.91 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.009195/0.3996, allocations: 4.079 MB / 0.5966 GB, free: 14.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3996, allocations: 8.031 kB / 0.5966 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001171/0.4008, allocations: 0.704 MB / 0.5972 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.4118, allocations: 3.098 MB / 0.6003 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006234/0.418, allocations: 2.087 MB / 0.6023 GB, free: 8.824 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.4183, allocations: 192.8 kB / 0.6025 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/0.4194, allocations: 247.8 kB / 0.6027 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/0.438, allocations: 10.19 MB / 0.6127 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.4381, allocations: 31.81 kB / 0.6127 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004854/0.4386, allocations: 119.8 kB / 0.6128 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004459/0.443, allocations: 2.463 MB / 0.6152 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01998/0.463, allocations: 9.336 MB / 0.6243 GB, free: 1.816 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04871/0.5117, allocations: 29.9 MB / 0.6535 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/0.5174, allocations: 2.337 MB / 0.6558 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.519, allocations: 0.986 MB / 0.6568 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009146/0.5199, allocations: 438.6 kB / 0.6572 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.52, allocations: 47.88 kB / 0.6572 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.238e-06/0.52, allocations: 0 / 0.6572 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.0214/0.5414, allocations: 8.943 MB / 0.666 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.5415, allocations: 68.72 kB / 0.666 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00418/0.5456, allocations: 2.778 MB / 0.6688 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.5458, allocations: 53.7 kB / 0.6688 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002615/0.5485, allocations: 2.768 MB / 0.6715 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009149/0.5494, allocations: 0.7443 MB / 0.6722 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.5508, allocations: 0.9731 MB / 0.6732 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.551, allocations: 305.1 kB / 0.6735 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.5536, allocations: 1.536 MB / 0.675 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005113/0.5587, allocations: 4.379 MB / 0.6793 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008878/0.5675, allocations: 6.548 MB / 0.6857 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-05/0.5676, allocations: 32 kB / 0.6857 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01053/0.5782, allocations: 5.84 MB / 0.6914 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.539e-05/0.5782, allocations: 48 kB / 0.6914 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.5784, allocations: 104.8 kB / 0.6915 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.5787, allocations: 172.9 kB / 0.6917 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/0.5821, allocations: 1.076 MB / 0.6927 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.584, allocations: 1.689 MB / 0.6944 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.5868, allocations: 211.9 kB / 0.6946 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005368/0.5873, allocations: 287.9 kB / 0.6949 GB, free: 5.672 MB / 0.5294 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.003384/0.5907, allocations: 1.989 MB / 0.6968 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004573/0.5911, allocations: 258.3 kB / 0.6971 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.5954, allocations: 2.541 MB / 0.6995 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/0.5954, allocations: 20 kB / 0.6996 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5954, allocations: 0 / 0.6996 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.5954, allocations: 11.97 kB / 0.6996 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.6103, allocations: 7.72 MB / 0.7071 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.6103, allocations: 12 kB / 0.7071 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.6113, allocations: 247.6 kB / 0.7074 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.6115, allocations: 52.83 kB / 0.7074 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.6116, allocations: 47.92 kB / 0.7075 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.6132, allocations: 1.514 MB / 0.7089 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.446e-05/0.6132, allocations: 19.94 kB / 0.709 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006043/0.6193, allocations: 4.036 MB / 0.7129 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008311/0.6201, allocations: 234.2 kB / 0.7131 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.6204, allocations: 36 kB / 0.7132 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007471/0.6211, allocations: 59.89 kB / 0.7132 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.6213, allocations: 120.6 kB / 0.7133 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.6215, allocations: 71.97 kB / 0.7134 GB, free: 2.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002595/0.624, allocations: 1.603 MB / 0.715 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.624, allocations: 0 / 0.715 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003627/0.6277, allocations: 0.7695 MB / 0.7157 GB, free: 15.83 MB / 0.5606 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.006373/0.634, allocations: 4.715 MB / 0.7203 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006512/0.6406, allocations: 3.705 MB / 0.7239 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/0.6406, allocations: 4.188 kB / 0.7239 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.6423, allocations: 1.17 MB / 0.7251 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.6443, allocations: 348.6 kB / 0.7254 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3108/0.9551, allocations: 33.44 MB / 0.7581 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003248/0.9583, allocations: 2.581 MB / 0.7606 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003394/0.9617, allocations: 1.712 MB / 0.7623 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/0.9636, allocations: 1.698 MB / 0.7639 GB, free: 133 MB / 0.5606 GB Notification: Performance of SimCode: time 1.863e-06/0.9636, allocations: 0 / 0.7639 GB, free: 133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09155/1.055, allocations: 45.45 MB / 0.8083 GB, free: 88.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.88, allocations: 13.83 kB / 0.8083 GB, free: 88.24 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 19.235960848163813]