Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002606/0.002606, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2558/0.2558, allocations: 46.91 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 79.89 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1414, allocations: 66.04 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01585/0.1572, allocations: 12.31 MB / 0.5682 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1674, allocations: 3.886 MB / 0.572 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.17, allocations: 67.75 kB / 0.572 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.1735, allocations: 1.335 MB / 0.5733 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004967/0.1785, allocations: 1.763 MB / 0.5751 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.1799, allocations: 427.2 kB / 0.5755 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005998/0.1859, allocations: 3.603 MB / 0.579 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.1891, allocations: 1.767 MB / 0.5807 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.1917, allocations: 1.21 MB / 0.5819 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003547/0.1952, allocations: 1.919 MB / 0.5838 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.1963, allocations: 240 kB / 0.584 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.1989, allocations: 0.8347 MB / 0.5848 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002764/0.2017, allocations: 1.612 MB / 0.5864 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003099/0.2048, allocations: 1.879 MB / 0.5882 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3165/0.5213, allocations: 6.083 MB / 0.5942 GB, free: 11.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.5213, allocations: 0.9688 kB / 0.5942 GB, free: 11.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5213, allocations: 3.844 kB / 0.5942 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002869/0.5216, allocations: 0 / 0.5942 GB, free: 11.96 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.0101/0.5317, allocations: 4.149 MB / 0.5982 GB, free: 10.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5317, allocations: 10.45 kB / 0.5982 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001753/0.5319, allocations: 92.5 kB / 0.5983 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001324/0.5332, allocations: 0.7014 MB / 0.599 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.5451, allocations: 3.105 MB / 0.602 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005737/0.5509, allocations: 2.135 MB / 0.6041 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.5511, allocations: 188.3 kB / 0.6043 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.5528, allocations: 247.6 kB / 0.6045 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02091/0.5737, allocations: 10.18 MB / 0.6145 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/0.5739, allocations: 24.09 kB / 0.6145 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/0.575, allocations: 114.5 kB / 0.6146 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004495/0.5795, allocations: 2.472 MB / 0.617 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.5975, allocations: 9.353 MB / 0.6262 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05404/0.6515, allocations: 31.52 MB / 0.6569 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006523/0.658, allocations: 3.25 MB / 0.6601 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.6597, allocations: 0.9948 MB / 0.6611 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.6611, allocations: 1.313 MB / 0.6624 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.6611, allocations: 44.38 kB / 0.6624 GB, free: 15.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 5.06e-06/0.6611, allocations: 4 kB / 0.6624 GB, free: 15.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02258/0.6837, allocations: 9.163 MB / 0.6714 GB, free: 6.152 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.6838, allocations: 75.98 kB / 0.6714 GB, free: 6.066 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.688, allocations: 2.61 MB / 0.674 GB, free: 3.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002758/0.6882, allocations: 51.34 kB / 0.674 GB, free: 3.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002552/0.6908, allocations: 2.78 MB / 0.6767 GB, free: 0.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.6918, allocations: 0.7328 MB / 0.6775 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/0.6936, allocations: 0.968 MB / 0.6784 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6937, allocations: 309.1 kB / 0.6787 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/0.6966, allocations: 1.544 MB / 0.6802 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005783/0.7024, allocations: 4.368 MB / 0.6845 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00949/0.7119, allocations: 6.556 MB / 0.6909 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.712, allocations: 35.62 kB / 0.6909 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01264/0.7246, allocations: 5.844 MB / 0.6966 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.7247, allocations: 48 kB / 0.6967 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/0.7249, allocations: 100 kB / 0.6968 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.7254, allocations: 177.4 kB / 0.6969 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/0.7292, allocations: 1.061 MB / 0.698 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.7314, allocations: 1.795 MB / 0.6997 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003433/0.7348, allocations: 211.9 kB / 0.6999 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009177/0.7357, allocations: 290.6 kB / 0.7002 GB, free: 6.547 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.004424/0.7401, allocations: 1.99 MB / 0.7021 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007064/0.7408, allocations: 262.2 kB / 0.7024 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005229/0.7461, allocations: 2.535 MB / 0.7049 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/0.7461, allocations: 22.58 kB / 0.7049 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7461, allocations: 0 / 0.7049 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.7461, allocations: 7.969 kB / 0.7049 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.7619, allocations: 7.933 MB / 0.7126 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/0.7619, allocations: 12.22 kB / 0.7127 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.763, allocations: 247.6 kB / 0.7129 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.7632, allocations: 57.08 kB / 0.7129 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.7634, allocations: 49.06 kB / 0.713 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.765, allocations: 1.637 MB / 0.7146 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.908e-05/0.765, allocations: 15.94 kB / 0.7146 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006231/0.7713, allocations: 4.027 MB / 0.7185 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/0.772, allocations: 307.3 kB / 0.7188 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/0.7725, allocations: 47.19 kB / 0.7189 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7735, allocations: 51.95 kB / 0.7189 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.7738, allocations: 124.6 kB / 0.719 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.774, allocations: 69.09 kB / 0.7191 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003033/0.777, allocations: 1.603 MB / 0.7207 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.777, allocations: 0 / 0.7207 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00463/0.7816, allocations: 0.7772 MB / 0.7214 GB, free: 300 kB / 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.007528/0.7892, allocations: 4.701 MB / 0.726 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007108/0.7963, allocations: 3.715 MB / 0.7297 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/0.7963, allocations: 4.5 kB / 0.7297 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002032/0.7983, allocations: 1.158 MB / 0.7308 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.8008, allocations: 358.7 kB / 0.7311 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06706/0.8678, allocations: 33.34 MB / 0.7637 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006362/0.8742, allocations: 3.133 MB / 0.7668 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004466/0.8787, allocations: 1.71 MB / 0.7684 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003447/0.8821, allocations: 1.694 MB / 0.7701 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of SimCode: time 2.004e-06/0.8821, allocations: 0 / 0.7701 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/1.007, allocations: 46.02 MB / 0.815 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.62/18.62, allocations: 19.23 kB / 0.815 GB, free: 12.29 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.521385692991316]