Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.001522/0.001522, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001915/0.001915, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.528/1.528, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2358/0.2358, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 75.88 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3312, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006019/0.3372, allocations: 4.198 MB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.3397, allocations: 1.192 MB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.3402, allocations: 15.88 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.3405, allocations: 106.9 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.341, allocations: 210.1 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.3416, allocations: 227.6 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000949/0.3425, allocations: 0.7977 MB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.3429, allocations: 173.9 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.3433, allocations: 330.8 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.3438, allocations: 350.5 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.3439, allocations: 56 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.3441, allocations: 99.92 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.3443, allocations: 143.5 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.3446, allocations: 354.2 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009241/0.3455, allocations: 0.7895 MB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3455, allocations: 3.984 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3455, allocations: 0 / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3455, allocations: 0 / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001955/0.3475, allocations: 0.9564 MB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3475, allocations: 8.031 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.351e-05/0.3476, allocations: 17.5 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.3477, allocations: 98.69 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007055/0.3484, allocations: 152.3 kB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/0.349, allocations: 364.1 kB / 0.5718 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.349, allocations: 45.69 kB / 0.5719 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.3491, allocations: 75.88 kB / 0.5719 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.3503, allocations: 0.6038 MB / 0.5725 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.3503, allocations: 19.88 kB / 0.5725 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.3504, allocations: 28 kB / 0.5726 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.3504, allocations: 12 kB / 0.5726 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.3516, allocations: 0.5074 MB / 0.5731 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.3551, allocations: 2.116 MB / 0.5751 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.3565, allocations: 0.6491 MB / 0.5758 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.3572, allocations: 319.1 kB / 0.5761 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.3573, allocations: 24.44 kB / 0.5761 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3573, allocations: 46.92 kB / 0.5762 GB, free: 4.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.777e-06/0.3573, allocations: 0 / 0.5762 GB, free: 4.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008475/0.3658, allocations: 3.947 MB / 0.58 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.3659, allocations: 222.3 kB / 0.5802 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/0.3664, allocations: 385.9 kB / 0.5806 GB, free: 148 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.179e-05/0.3665, allocations: 45.7 kB / 0.5806 GB, free: 96 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.3668, allocations: 281.5 kB / 0.5809 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/0.3672, allocations: 436.2 kB / 0.5813 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.3676, allocations: 182.9 kB / 0.5815 GB, free: 15.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.3678, allocations: 382.8 kB / 0.5819 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.3685, allocations: 314.4 kB / 0.5822 GB, free: 14.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.3693, allocations: 0.4926 MB / 0.5826 GB, free: 13.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.3709, allocations: 0.8618 MB / 0.5835 GB, free: 13.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.3709, allocations: 0 / 0.5835 GB, free: 13.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001978/0.3729, allocations: 0.9962 MB / 0.5844 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3729, allocations: 8 kB / 0.5845 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3729, allocations: 4 kB / 0.5845 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.373, allocations: 8 kB / 0.5845 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.3741, allocations: 284.1 kB / 0.5847 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.454e-05/0.3741, allocations: 19.92 kB / 0.5848 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.3746, allocations: 43.98 kB / 0.5848 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.3747, allocations: 43.98 kB / 0.5848 GB, free: 11.61 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.3751, allocations: 234.8 kB / 0.5851 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.3754, allocations: 83.47 kB / 0.5851 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.3759, allocations: 223.3 kB / 0.5854 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.3759, allocations: 12 kB / 0.5854 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.3759, allocations: 4 kB / 0.5854 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.3759, allocations: 4.125 kB / 0.5854 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/0.3802, allocations: 2.308 MB / 0.5876 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.3802, allocations: 3.938 kB / 0.5876 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.3813, allocations: 251.6 kB / 0.5879 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.959e-05/0.3813, allocations: 8 kB / 0.5879 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.3814, allocations: 24 kB / 0.5879 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-05/0.3814, allocations: 11.98 kB / 0.5879 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.3814, allocations: 4.281 kB / 0.5879 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.3843, allocations: 1.888 MB / 0.5898 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.3846, allocations: 131.4 kB / 0.5899 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.3848, allocations: 27.98 kB / 0.5899 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/0.3855, allocations: 35.98 kB / 0.59 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.3856, allocations: 88.44 kB / 0.59 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.3857, allocations: 35.98 kB / 0.5901 GB, free: 6.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003678/0.3861, allocations: 271.1 kB / 0.5903 GB, free: 5.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3861, allocations: 0 / 0.5903 GB, free: 5.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009797/0.3871, allocations: 196 kB / 0.5905 GB, free: 5.652 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003303/0.3904, allocations: 2.472 MB / 0.5929 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.3921, allocations: 0.7971 MB / 0.5937 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3921, allocations: 0 / 0.5937 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008993/0.393, allocations: 473 kB / 0.5942 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.3945, allocations: 142.3 kB / 0.5943 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.4073, allocations: 7.302 MB / 0.6014 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/0.4081, allocations: 0.944 MB / 0.6023 GB, free: 9.145 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000517/0.4086, allocations: 105.9 kB / 0.6024 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/0.4091, allocations: 275.3 kB / 0.6027 GB, free: 8.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.625e-06/0.4091, allocations: 0 / 0.6027 GB, free: 8.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04579/0.4549, allocations: 15.14 MB / 0.6175 GB, free: 9.809 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.35, allocations: 0 / 0.6175 GB, free: 9.809 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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: 16.85933001304511]