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.001907/0.001907, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.001594/0.001594, allocations: 209.2 kB / 24.51 MB, free: 3.941 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.495/1.495, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.2344/0.2344, allocations: 46.95 MB / 361.6 MB, free: 3.953 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.002432/0.002432, allocations: 79.88 kB / 0.4969 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3097, allocations: 66.07 MB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005611/0.3153, allocations: 3.762 MB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.3177, allocations: 1.133 MB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003674/0.3181, allocations: 23.81 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.3183, allocations: 106.9 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.3188, allocations: 202.1 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/0.3195, allocations: 235.5 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.3205, allocations: 0.7939 MB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.3209, allocations: 173.9 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.3214, allocations: 334.8 kB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.3219, allocations: 346.4 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.322, allocations: 56 kB / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.3222, allocations: 91.98 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3224, allocations: 151.4 kB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003351/0.3227, allocations: 286.7 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009866/0.3237, allocations: 0.8012 MB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3237, allocations: 0 / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3237, allocations: 0 / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3237, allocations: 0 / 0.5697 GB, free: 11.57 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.002106/0.3258, allocations: 0.9564 MB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3258, allocations: 12.03 kB / 0.5706 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.926e-05/0.3259, allocations: 13.5 kB / 0.5706 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.326, allocations: 102.7 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.327, allocations: 148.3 kB / 0.5709 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.3277, allocations: 364.1 kB / 0.5712 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.3278, allocations: 45.69 kB / 0.5713 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.3279, allocations: 71.89 kB / 0.5713 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3292, allocations: 0.6155 MB / 0.5719 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.3292, allocations: 7.953 kB / 0.5719 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.3293, allocations: 24 kB / 0.572 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.3293, allocations: 16 kB / 0.572 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3305, allocations: 0.519 MB / 0.5725 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.334, allocations: 1.996 MB / 0.5744 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.3354, allocations: 0.6489 MB / 0.5751 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/0.336, allocations: 319.2 kB / 0.5754 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.3361, allocations: 20.38 kB / 0.5754 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.3362, allocations: 50.98 kB / 0.5754 GB, free: 5.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.437e-06/0.3362, allocations: 0 / 0.5754 GB, free: 5.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008815/0.345, allocations: 3.951 MB / 0.5793 GB, free: 1.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.3451, allocations: 222.3 kB / 0.5795 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.3456, allocations: 393.9 kB / 0.5799 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.949e-05/0.3457, allocations: 45.7 kB / 0.5799 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.3459, allocations: 281.5 kB / 0.5802 GB, free: 228 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/0.3463, allocations: 432.2 kB / 0.5806 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.3466, allocations: 178.9 kB / 0.5808 GB, free: 15.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.3469, allocations: 382.8 kB / 0.5811 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/0.3476, allocations: 310.4 kB / 0.5814 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009158/0.3485, allocations: 0.5004 MB / 0.5819 GB, free: 14.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.35, allocations: 0.8541 MB / 0.5828 GB, free: 13.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.35, allocations: 0 / 0.5828 GB, free: 13.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002128/0.3522, allocations: 0.9928 MB / 0.5837 GB, free: 12.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.3522, allocations: 12 kB / 0.5837 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.3522, allocations: 4 kB / 0.5837 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/0.3522, allocations: 12 kB / 0.5838 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.3533, allocations: 275.6 kB / 0.584 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.3534, allocations: 20.2 kB / 0.584 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.3539, allocations: 43.98 kB / 0.5841 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/0.3539, allocations: 39.98 kB / 0.5841 GB, free: 12.04 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.0004037/0.3544, allocations: 246.7 kB / 0.5844 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.3546, allocations: 75.53 kB / 0.5844 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.3552, allocations: 230.9 kB / 0.5846 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.3552, allocations: 12 kB / 0.5847 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.3552, allocations: 4 kB / 0.5847 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.3552, allocations: 3.984 kB / 0.5847 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.3593, allocations: 2.14 MB / 0.5868 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.3593, allocations: 12.22 kB / 0.5868 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.3605, allocations: 243.7 kB / 0.587 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/0.3605, allocations: 8 kB / 0.587 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/0.3606, allocations: 31.98 kB / 0.587 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.3606, allocations: 8.062 kB / 0.587 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.937e-05/0.3606, allocations: 11.94 kB / 0.5871 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.3634, allocations: 1.884 MB / 0.5889 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.3638, allocations: 127.4 kB / 0.589 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.3639, allocations: 24 kB / 0.589 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.3646, allocations: 43.97 kB / 0.5891 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.3647, allocations: 92.38 kB / 0.5892 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.3648, allocations: 36 kB / 0.5892 GB, free: 6.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003239/0.3651, allocations: 263.1 kB / 0.5895 GB, free: 6.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3651, allocations: 4.188 kB / 0.5895 GB, free: 6.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009558/0.3661, allocations: 192 kB / 0.5896 GB, free: 6.242 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.003209/0.3693, allocations: 2.473 MB / 0.5921 GB, free: 3.715 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.371, allocations: 0.8003 MB / 0.5928 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.371, allocations: 0 / 0.5928 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000913/0.372, allocations: 468.6 kB / 0.5933 GB, free: 2.457 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.3734, allocations: 141.8 kB / 0.5934 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.3855, allocations: 7.295 MB / 0.6005 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.386, allocations: 357.1 kB / 0.6009 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005102/0.3865, allocations: 106 kB / 0.601 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.3869, allocations: 271.3 kB / 0.6012 GB, free: 9.973 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3869, allocations: 0 / 0.6012 GB, free: 9.973 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04375/0.4307, allocations: 15.1 MB / 0.616 GB, free: 11.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.12, allocations: 8 kB / 0.616 GB, free: 11.06 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.578035121085122]