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.001817/0.001817, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002371/0.002371, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.552/1.552, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2326/0.2326, allocations: 46.97 MB / 361.7 MB, free: 4.051 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3053, allocations: 66.02 MB / 0.5614 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.013/0.3183, allocations: 10.63 MB / 0.5717 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007401/0.3257, allocations: 3.676 MB / 0.5753 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.3267, allocations: 67.75 kB / 0.5754 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.3293, allocations: 1.3 MB / 0.5767 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.3332, allocations: 1.771 MB / 0.5784 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3343, allocations: 423.2 kB / 0.5788 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004767/0.3391, allocations: 3.61 MB / 0.5823 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.3414, allocations: 1.83 MB / 0.5841 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.343, allocations: 1.222 MB / 0.5853 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.3457, allocations: 1.92 MB / 0.5872 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005779/0.3463, allocations: 239.9 kB / 0.5874 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.3478, allocations: 0.7294 MB / 0.5881 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001817/0.3496, allocations: 1.597 MB / 0.5897 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.3516, allocations: 1.339 MB / 0.591 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007478/0.3591, allocations: 6.122 MB / 0.597 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.3591, allocations: 3.984 kB / 0.597 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3591, allocations: 0 / 0.597 GB, free: 15.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001758/0.3593, allocations: 0 / 0.597 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.007067/0.3664, allocations: 4.077 MB / 0.6009 GB, free: 11.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3664, allocations: 8.031 kB / 0.601 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001124/0.3665, allocations: 96.95 kB / 0.601 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008408/0.3674, allocations: 0.7001 MB / 0.6017 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.378, allocations: 3.106 MB / 0.6048 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004875/0.3829, allocations: 2.08 MB / 0.6068 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.3831, allocations: 192.6 kB / 0.607 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006361/0.3837, allocations: 243.8 kB / 0.6072 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.3997, allocations: 10.19 MB / 0.6172 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.149e-05/0.3998, allocations: 27.8 kB / 0.6172 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/0.4002, allocations: 119.8 kB / 0.6173 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004139/0.4043, allocations: 2.467 MB / 0.6197 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01887/0.4232, allocations: 9.345 MB / 0.6288 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05416/0.4773, allocations: 29.89 MB / 0.658 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009909/0.4872, allocations: 2.341 MB / 0.6603 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/0.49, allocations: 0.9938 MB / 0.6613 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.4912, allocations: 434.6 kB / 0.6617 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.849e-05/0.4912, allocations: 43.88 kB / 0.6617 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 7.354e-06/0.4912, allocations: 0 / 0.6617 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02822/0.5195, allocations: 8.939 MB / 0.6705 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.5195, allocations: 68.72 kB / 0.6705 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/0.5248, allocations: 2.619 MB / 0.6731 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.5251, allocations: 57.64 kB / 0.6732 GB, free: 108 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002506/0.5276, allocations: 2.776 MB / 0.6759 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009877/0.5286, allocations: 0.7325 MB / 0.6766 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/0.5305, allocations: 0.9653 MB / 0.6775 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.5307, allocations: 305.1 kB / 0.6778 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/0.5333, allocations: 1.54 MB / 0.6793 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005791/0.5391, allocations: 4.375 MB / 0.6836 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.5493, allocations: 6.563 MB / 0.69 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001599/0.5494, allocations: 35.98 kB / 0.69 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01179/0.5612, allocations: 5.837 MB / 0.6957 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.5614, allocations: 48.22 kB / 0.6958 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002303/0.5616, allocations: 104 kB / 0.6959 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.562, allocations: 176.8 kB / 0.696 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003726/0.5658, allocations: 1.064 MB / 0.6971 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.5683, allocations: 1.682 MB / 0.6987 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.5713, allocations: 207.9 kB / 0.6989 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007122/0.572, allocations: 304 kB / 0.6992 GB, free: 2.422 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.003747/0.5758, allocations: 1.984 MB / 0.7012 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005567/0.5763, allocations: 266.2 kB / 0.7014 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/0.581, allocations: 2.533 MB / 0.7039 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/0.5811, allocations: 20 kB / 0.7039 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5811, allocations: 0 / 0.7039 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.5811, allocations: 7.969 kB / 0.7039 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.5971, allocations: 7.719 MB / 0.7114 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.5971, allocations: 8 kB / 0.7115 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5983, allocations: 247.6 kB / 0.7117 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.5984, allocations: 60.7 kB / 0.7117 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.5986, allocations: 40 kB / 0.7118 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.6002, allocations: 1.53 MB / 0.7133 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/0.6002, allocations: 15.94 kB / 0.7133 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.6059, allocations: 4.025 MB / 0.7172 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/0.6065, allocations: 234.2 kB / 0.7174 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/0.6069, allocations: 39.92 kB / 0.7175 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008743/0.6078, allocations: 55.95 kB / 0.7175 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.6081, allocations: 128.5 kB / 0.7177 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.6082, allocations: 63.98 kB / 0.7177 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002919/0.6111, allocations: 1.603 MB / 0.7193 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6111, allocations: 0 / 0.7193 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004091/0.6152, allocations: 0.7773 MB / 0.72 GB, free: 12.59 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.007066/0.6223, allocations: 4.703 MB / 0.7246 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0068/0.6291, allocations: 3.716 MB / 0.7283 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.6291, allocations: 0 / 0.7283 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.631, allocations: 1.179 MB / 0.7294 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.6333, allocations: 342 kB / 0.7297 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2911/0.9244, allocations: 33.44 MB / 0.7624 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/0.927, allocations: 2.585 MB / 0.7649 GB, free: 131 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002882/0.9299, allocations: 1.712 MB / 0.7666 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/0.9314, allocations: 1.694 MB / 0.7683 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/0.9314, allocations: 0 / 0.7683 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07586/1.007, allocations: 47.54 MB / 0.8147 GB, free: 80.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.29/20.3, allocations: 10.72 kB / 0.8147 GB, free: 80.73 MB / 0.5606 GB " [Timeout remaining time 639] (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: 24.200635710032657]