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.001517/0.001517, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001487/0.001487, allocations: 214.8 kB / 23.73 MB, free: 4.156 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.218/0.218, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.002148/0.002148, allocations: 67.91 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01348/0.3282, allocations: 10.72 MB / 0.5711 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007944/0.3362, allocations: 3.676 MB / 0.5747 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.3375, allocations: 75.69 kB / 0.5747 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.3402, allocations: 1.3 MB / 0.576 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.3442, allocations: 1.779 MB / 0.5777 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.3451, allocations: 423.2 kB / 0.5781 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004868/0.35, allocations: 3.587 MB / 0.5816 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.3531, allocations: 1.83 MB / 0.5834 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.3552, allocations: 1.214 MB / 0.5846 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.3584, allocations: 1.845 MB / 0.5864 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009358/0.3594, allocations: 239.9 kB / 0.5866 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.3616, allocations: 0.7138 MB / 0.5873 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.3639, allocations: 1.608 MB / 0.5889 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003146/0.367, allocations: 1.335 MB / 0.5902 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008732/0.3758, allocations: 6.13 MB / 0.5962 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3758, allocations: 0 / 0.5962 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3758, allocations: 0 / 0.5962 GB, free: 15.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002114/0.376, allocations: 0 / 0.5962 GB, free: 15.61 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.007598/0.3836, allocations: 4.08 MB / 0.6002 GB, free: 11.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3836, allocations: 8.031 kB / 0.6002 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009947/0.3846, allocations: 0.7001 MB / 0.6009 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.3952, allocations: 3.11 MB / 0.6039 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005313/0.4005, allocations: 2.083 MB / 0.6059 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.4007, allocations: 196.8 kB / 0.6061 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007032/0.4014, allocations: 243.8 kB / 0.6064 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.4181, allocations: 10.18 MB / 0.6163 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.526e-05/0.4182, allocations: 23.81 kB / 0.6163 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/0.4185, allocations: 115.8 kB / 0.6164 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00414/0.4226, allocations: 2.459 MB / 0.6188 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.4407, allocations: 9.341 MB / 0.628 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04887/0.4896, allocations: 29.89 MB / 0.6572 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00575/0.4953, allocations: 2.329 MB / 0.6594 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.497, allocations: 0.9977 MB / 0.6604 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008532/0.4978, allocations: 438.6 kB / 0.6608 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.4978, allocations: 51.86 kB / 0.6609 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.218e-06/0.4979, allocations: 0 / 0.6609 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02143/0.5193, allocations: 8.943 MB / 0.6696 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001964/0.5195, allocations: 64.72 kB / 0.6697 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/0.5236, allocations: 2.782 MB / 0.6724 GB, free: 120 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.5238, allocations: 53.69 kB / 0.6724 GB, free: 60 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002536/0.5263, allocations: 2.772 MB / 0.6751 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009624/0.5273, allocations: 0.7441 MB / 0.6759 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/0.5287, allocations: 0.9652 MB / 0.6768 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5288, allocations: 305.1 kB / 0.6771 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.5312, allocations: 1.54 MB / 0.6786 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005314/0.5365, allocations: 4.375 MB / 0.6829 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009795/0.5463, allocations: 6.555 MB / 0.6893 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.051e-05/0.5464, allocations: 28 kB / 0.6893 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01009/0.5565, allocations: 5.848 MB / 0.695 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/0.5566, allocations: 48.97 kB / 0.6951 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.5567, allocations: 96 kB / 0.6952 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.557, allocations: 176.8 kB / 0.6953 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.5601, allocations: 1.061 MB / 0.6964 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.5619, allocations: 1.693 MB / 0.698 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.5643, allocations: 207.9 kB / 0.6982 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/0.5647, allocations: 292 kB / 0.6985 GB, free: 2.383 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.003145/0.5679, allocations: 1.997 MB / 0.7004 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.5682, allocations: 258.2 kB / 0.7007 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.5722, allocations: 2.537 MB / 0.7032 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/0.5722, allocations: 20 kB / 0.7032 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5722, allocations: 4 kB / 0.7032 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5722, allocations: 7.984 kB / 0.7032 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.5856, allocations: 7.712 MB / 0.7107 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.5856, allocations: 8 kB / 0.7107 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009893/0.5866, allocations: 251.6 kB / 0.711 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.5868, allocations: 56.83 kB / 0.711 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.876e-05/0.5869, allocations: 43.98 kB / 0.7111 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.5884, allocations: 1.522 MB / 0.7126 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/0.5884, allocations: 15.94 kB / 0.7126 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.5939, allocations: 4.025 MB / 0.7165 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.5945, allocations: 234.2 kB / 0.7167 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.5947, allocations: 39.98 kB / 0.7168 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007415/0.5954, allocations: 63.88 kB / 0.7168 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.5957, allocations: 128.5 kB / 0.717 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.5958, allocations: 63.98 kB / 0.717 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002323/0.5981, allocations: 1.603 MB / 0.7186 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5981, allocations: 0 / 0.7186 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003097/0.6012, allocations: 0.7734 MB / 0.7193 GB, free: 12.54 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.006074/0.6073, allocations: 4.706 MB / 0.7239 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006312/0.6136, allocations: 3.717 MB / 0.7276 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.6136, allocations: 0 / 0.7276 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.6153, allocations: 1.178 MB / 0.7287 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.617, allocations: 352.4 kB / 0.729 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2685/0.8855, allocations: 33.44 MB / 0.7617 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/0.8881, allocations: 2.582 MB / 0.7642 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002876/0.8909, allocations: 1.715 MB / 0.7659 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/0.8926, allocations: 1.694 MB / 0.7676 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.8926, allocations: 0 / 0.7676 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07763/0.9702, allocations: 45.45 MB / 0.8119 GB, free: 82.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/16.16, allocations: 11.73 kB / 0.8119 GB, free: 82.74 MB / 0.5606 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 19.56163011910394]