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.001926/0.001926, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002025/0.002025, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.2434/0.2434, allocations: 46.93 MB / 360.8 MB, free: 4.156 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 83.86 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3585, allocations: 66.07 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006032/0.3645, allocations: 4.204 MB / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.3671, allocations: 1.188 MB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.3675, allocations: 19.81 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.3678, allocations: 106.9 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005226/0.3683, allocations: 206.1 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.3689, allocations: 227.5 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009971/0.3699, allocations: 0.7977 MB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003359/0.3702, allocations: 173.9 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.3707, allocations: 330.8 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.3712, allocations: 342.5 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3713, allocations: 60 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.3715, allocations: 95.98 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.3717, allocations: 147.4 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.372, allocations: 358.1 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.373, allocations: 0.7857 MB / 0.5695 GB, free: 11.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.373, allocations: 4 kB / 0.5695 GB, free: 11.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.373, allocations: 0 / 0.5695 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.373, allocations: 0 / 0.5695 GB, free: 11.25 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.002073/0.3751, allocations: 0.9603 MB / 0.5704 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3751, allocations: 11.97 kB / 0.5705 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.3753, allocations: 98.7 kB / 0.5705 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007029/0.376, allocations: 148.3 kB / 0.5707 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.3766, allocations: 360.2 kB / 0.571 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.3766, allocations: 41.69 kB / 0.5711 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3768, allocations: 72.06 kB / 0.5711 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.3779, allocations: 0.6194 MB / 0.5717 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.378, allocations: 15.89 kB / 0.5718 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.378, allocations: 20 kB / 0.5718 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.378, allocations: 20 kB / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3792, allocations: 0.5112 MB / 0.5723 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/0.3828, allocations: 2.113 MB / 0.5744 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.3843, allocations: 0.6646 MB / 0.575 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.385, allocations: 311.2 kB / 0.5753 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.3851, allocations: 20.36 kB / 0.5753 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.3852, allocations: 47 kB / 0.5754 GB, free: 4.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.145e-06/0.3852, allocations: 0 / 0.5754 GB, free: 4.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008386/0.3936, allocations: 3.945 MB / 0.5792 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.3937, allocations: 226.2 kB / 0.5794 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.3942, allocations: 394 kB / 0.5798 GB, free: 132 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.3942, allocations: 41.7 kB / 0.5799 GB, free: 84 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.3945, allocations: 285.5 kB / 0.5801 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.3948, allocations: 436.1 kB / 0.5805 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.3951, allocations: 178.9 kB / 0.5807 GB, free: 15.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3953, allocations: 382.8 kB / 0.5811 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.396, allocations: 314.4 kB / 0.5814 GB, free: 14.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.3968, allocations: 0.4926 MB / 0.5819 GB, free: 13.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.3983, allocations: 0.8539 MB / 0.5827 GB, free: 13.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3983, allocations: 4 kB / 0.5827 GB, free: 13.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001909/0.4002, allocations: 0.997 MB / 0.5837 GB, free: 12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.4003, allocations: 8 kB / 0.5837 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4003, allocations: 4.281 kB / 0.5837 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/0.4003, allocations: 12 kB / 0.5837 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.4014, allocations: 275.6 kB / 0.584 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.173e-05/0.4014, allocations: 15.94 kB / 0.584 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.4019, allocations: 52.25 kB / 0.584 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/0.402, allocations: 36 kB / 0.5841 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.0004008/0.4024, allocations: 230.8 kB / 0.5843 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.4027, allocations: 91.45 kB / 0.5844 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.4032, allocations: 230.9 kB / 0.5846 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.4032, allocations: 12 kB / 0.5846 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.4032, allocations: 0 / 0.5846 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.4033, allocations: 16.11 kB / 0.5846 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004586/0.4079, allocations: 2.292 MB / 0.5868 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.4079, allocations: 4 kB / 0.5869 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.4089, allocations: 251.7 kB / 0.5871 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/0.4089, allocations: 8 kB / 0.5871 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/0.409, allocations: 31.98 kB / 0.5871 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/0.409, allocations: 11.94 kB / 0.5871 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.409, allocations: 4 kB / 0.5871 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.412, allocations: 1.879 MB / 0.589 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.4124, allocations: 131.4 kB / 0.5891 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.4125, allocations: 28 kB / 0.5891 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.4131, allocations: 35.98 kB / 0.5892 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.4133, allocations: 96.56 kB / 0.5893 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.4134, allocations: 31.98 kB / 0.5893 GB, free: 6.098 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004067/0.4138, allocations: 271.1 kB / 0.5895 GB, free: 5.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4138, allocations: 0 / 0.5895 GB, free: 5.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009563/0.4147, allocations: 196 kB / 0.5897 GB, free: 5.641 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.003154/0.4179, allocations: 2.481 MB / 0.5922 GB, free: 3.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.4195, allocations: 0.7917 MB / 0.5929 GB, free: 2.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.4195, allocations: 4 kB / 0.5929 GB, free: 2.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009374/0.4205, allocations: 460.6 kB / 0.5934 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.4219, allocations: 144.3 kB / 0.5935 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.4336, allocations: 7.299 MB / 0.6006 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.4344, allocations: 0.9557 MB / 0.6016 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004821/0.4348, allocations: 94.02 kB / 0.6017 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.4353, allocations: 271.3 kB / 0.6019 GB, free: 8.77 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4353, allocations: 4 kB / 0.6019 GB, free: 8.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05451/0.4898, allocations: 15.1 MB / 0.6167 GB, free: 9.832 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.06, allocations: 11.44 kB / 0.6167 GB, free: 9.824 MB / 462.1 MB " [Timeout remaining time 647] (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.28408519993536]