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.001731/0.001731, allocations: 118.6 kB / 18.5 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.00211/0.00211, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.525/1.525, allocations: 230.2 MB / 254.5 MB, free: 15.22 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.2463/0.2463, allocations: 46.91 MB / 357.4 MB, free: 10.45 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003144/0.003144, allocations: 75.88 kB / 0.4913 GB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1509, allocations: 65.99 MB / 0.5557 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01566/0.1666, allocations: 12.32 MB / 0.5677 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009976/0.1765, allocations: 3.878 MB / 0.5715 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.1787, allocations: 63.88 kB / 0.5716 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.1824, allocations: 1.331 MB / 0.5729 GB, free: 4.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.1873, allocations: 1.769 MB / 0.5746 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1886, allocations: 423.2 kB / 0.575 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005684/0.1943, allocations: 3.599 MB / 0.5785 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/0.1971, allocations: 1.771 MB / 0.5802 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.1994, allocations: 1.195 MB / 0.5814 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.2025, allocations: 1.916 MB / 0.5833 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007609/0.2032, allocations: 240 kB / 0.5835 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.2052, allocations: 0.8347 MB / 0.5843 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.2071, allocations: 1.608 MB / 0.5859 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.2099, allocations: 1.875 MB / 0.5877 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2744/0.4843, allocations: 6.098 MB / 0.5937 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4843, allocations: 0 / 0.5937 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4843, allocations: 2.062 kB / 0.5937 GB, free: 12.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001874/0.4844, allocations: 1.188 kB / 0.5937 GB, free: 12.09 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.00747/0.4919, allocations: 4.143 MB / 0.5977 GB, free: 10.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.492, allocations: 9.938 kB / 0.5977 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001214/0.4932, allocations: 0.7004 MB / 0.5984 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.5044, allocations: 3.106 MB / 0.6015 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006101/0.5105, allocations: 2.134 MB / 0.6035 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.5107, allocations: 191.1 kB / 0.6037 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.512, allocations: 247.7 kB / 0.604 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/0.5286, allocations: 10.18 MB / 0.6139 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.5287, allocations: 23.56 kB / 0.6139 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005132/0.5292, allocations: 120.5 kB / 0.614 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003612/0.5329, allocations: 2.466 MB / 0.6164 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/0.5487, allocations: 9.348 MB / 0.6256 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05094/0.5996, allocations: 31.53 MB / 0.6564 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00685/0.6064, allocations: 3.247 MB / 0.6595 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.6083, allocations: 0.9988 MB / 0.6605 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.6099, allocations: 1.303 MB / 0.6618 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.6099, allocations: 47.88 kB / 0.6618 GB, free: 15.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.468e-06/0.61, allocations: 0 / 0.6618 GB, free: 15.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02429/0.6342, allocations: 9.17 MB / 0.6708 GB, free: 6.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.6343, allocations: 71.28 kB / 0.6709 GB, free: 6.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/0.6385, allocations: 2.615 MB / 0.6734 GB, free: 3.887 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00028/0.6387, allocations: 47.45 kB / 0.6735 GB, free: 3.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002415/0.6411, allocations: 2.781 MB / 0.6762 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.6422, allocations: 0.7368 MB / 0.6769 GB, free: 356 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/0.644, allocations: 0.97 MB / 0.6778 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6442, allocations: 305.1 kB / 0.6781 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/0.6471, allocations: 1.545 MB / 0.6796 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006323/0.6535, allocations: 4.369 MB / 0.6839 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009556/0.663, allocations: 6.556 MB / 0.6903 GB, free: 256 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.6631, allocations: 28 kB / 0.6903 GB, free: 228 kB / 0.4981 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01231/0.6754, allocations: 5.847 MB / 0.696 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.6756, allocations: 53.97 kB / 0.6961 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/0.6758, allocations: 100 kB / 0.6962 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/0.6762, allocations: 176.8 kB / 0.6964 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003743/0.68, allocations: 1.063 MB / 0.6974 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.682, allocations: 1.79 MB / 0.6991 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.685, allocations: 212.8 kB / 0.6993 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007407/0.6857, allocations: 291.8 kB / 0.6996 GB, free: 6.984 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.003898/0.6896, allocations: 1.989 MB / 0.7016 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006007/0.6902, allocations: 262.2 kB / 0.7018 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/0.6949, allocations: 2.533 MB / 0.7043 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/0.695, allocations: 24 kB / 0.7043 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.695, allocations: 0 / 0.7043 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.695, allocations: 7.969 kB / 0.7043 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/0.7108, allocations: 7.939 MB / 0.7121 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/0.7108, allocations: 9 kB / 0.7121 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.7119, allocations: 248.5 kB / 0.7123 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.7121, allocations: 60.83 kB / 0.7124 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.7122, allocations: 40 kB / 0.7124 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.7139, allocations: 1.633 MB / 0.714 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/0.7139, allocations: 11.94 kB / 0.714 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.7201, allocations: 4.038 MB / 0.718 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008681/0.721, allocations: 304.8 kB / 0.7183 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004854/0.7215, allocations: 43.98 kB / 0.7183 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/0.7224, allocations: 51.95 kB / 0.7183 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.7227, allocations: 116.7 kB / 0.7185 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.7228, allocations: 78.19 kB / 0.7185 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003138/0.726, allocations: 1.603 MB / 0.7201 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.726, allocations: 0 / 0.7201 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003827/0.7298, allocations: 0.7796 MB / 0.7209 GB, free: 0.7344 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.006688/0.7365, allocations: 4.707 MB / 0.7255 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006471/0.743, allocations: 3.713 MB / 0.7291 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.743, allocations: 0.9375 kB / 0.7291 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.7449, allocations: 1.166 MB / 0.7302 GB, free: 7.004 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.7471, allocations: 350.4 kB / 0.7306 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05901/0.8061, allocations: 33.34 MB / 0.7631 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005225/0.8114, allocations: 3.134 MB / 0.7662 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004278/0.8156, allocations: 1.71 MB / 0.7678 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002918/0.8186, allocations: 1.694 MB / 0.7695 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of SimCode: time 1.543e-06/0.8186, allocations: 4 kB / 0.7695 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/0.9198, allocations: 45.98 MB / 0.8144 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.18/18.09, allocations: 15.73 kB / 0.8144 GB, free: 12.75 MB / 0.6387 GB " [Timeout remaining time 642] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 21.66936789173633]