Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 215.8 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 46.96 MB / 360.9 MB, free: 4.082 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.91 kB / 0.4961 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 66.03 MB / 0.5606 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006104/0.348, allocations: 3.77 MB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.3508, allocations: 1.133 MB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.3512, allocations: 19.81 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3515, allocations: 103 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005073/0.352, allocations: 214.1 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.3527, allocations: 227.6 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.3537, allocations: 0.7978 MB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.3541, allocations: 157.9 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.3546, allocations: 326.8 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.355, allocations: 322.4 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.937e-05/0.3551, allocations: 56 kB / 0.5675 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.3553, allocations: 84 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.3555, allocations: 155.4 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.3558, allocations: 294.6 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000935/0.3567, allocations: 0.7896 MB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3567, allocations: 4 kB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3567, allocations: 0 / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.3568, allocations: 0 / 0.5688 GB, free: 11.85 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.00203/0.3588, allocations: 0.9564 MB / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3588, allocations: 15.97 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.359, allocations: 98.69 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006864/0.3596, allocations: 152.3 kB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.3603, allocations: 368.1 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.3604, allocations: 41.69 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3605, allocations: 72.08 kB / 0.5704 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.3617, allocations: 0.6155 MB / 0.571 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.3618, allocations: 7.953 kB / 0.571 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.3618, allocations: 27.98 kB / 0.5711 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.3618, allocations: 16 kB / 0.5711 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.363, allocations: 0.5073 MB / 0.5716 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.3664, allocations: 1.988 MB / 0.5735 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3678, allocations: 0.6532 MB / 0.5742 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.3684, allocations: 322.2 kB / 0.5745 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3685, allocations: 20.36 kB / 0.5745 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.3685, allocations: 47 kB / 0.5745 GB, free: 5.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.116e-06/0.3685, allocations: 0 / 0.5745 GB, free: 5.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008445/0.377, allocations: 3.948 MB / 0.5784 GB, free: 1.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.3771, allocations: 222.2 kB / 0.5786 GB, free: 1.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.3776, allocations: 397.8 kB / 0.579 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/0.3777, allocations: 49.77 kB / 0.579 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.3779, allocations: 289.5 kB / 0.5793 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.3783, allocations: 428.3 kB / 0.5797 GB, free: 92 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.3786, allocations: 171 kB / 0.5799 GB, free: 15.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.3788, allocations: 386.8 kB / 0.5802 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006511/0.3795, allocations: 306.4 kB / 0.5805 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.3803, allocations: 0.5004 MB / 0.581 GB, free: 14.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.3819, allocations: 0.8558 MB / 0.5819 GB, free: 13.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3819, allocations: 0 / 0.5819 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001897/0.3838, allocations: 1.008 MB / 0.5828 GB, free: 12.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.3838, allocations: 8.438 kB / 0.5829 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3838, allocations: 12 kB / 0.5829 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.3838, allocations: 8 kB / 0.5829 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.3849, allocations: 275.6 kB / 0.5831 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/0.3849, allocations: 15.94 kB / 0.5832 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.3854, allocations: 47.91 kB / 0.5832 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.3855, allocations: 44 kB / 0.5832 GB, free: 12.32 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.000338/0.3858, allocations: 229.6 kB / 0.5835 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.386, allocations: 87.41 kB / 0.5835 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.3865, allocations: 219 kB / 0.5838 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.3865, allocations: 12 kB / 0.5838 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.3865, allocations: 4 kB / 0.5838 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.3865, allocations: 7.969 kB / 0.5838 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.3905, allocations: 2.138 MB / 0.5859 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.3905, allocations: 4 kB / 0.5859 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.3916, allocations: 251.9 kB / 0.5861 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.3916, allocations: 11.98 kB / 0.5861 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/0.3917, allocations: 31.98 kB / 0.5861 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.3917, allocations: 8 kB / 0.5862 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3917, allocations: 7.938 kB / 0.5862 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.3945, allocations: 1.887 MB / 0.588 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.3948, allocations: 127.4 kB / 0.5881 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.3949, allocations: 27.98 kB / 0.5882 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/0.3955, allocations: 39.98 kB / 0.5882 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.3957, allocations: 88.38 kB / 0.5883 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/0.3957, allocations: 43.98 kB / 0.5883 GB, free: 6.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.3961, allocations: 267.1 kB / 0.5886 GB, free: 6.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3961, allocations: 0 / 0.5886 GB, free: 6.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000924/0.397, allocations: 196.1 kB / 0.5888 GB, free: 6.523 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.003401/0.4004, allocations: 2.472 MB / 0.5912 GB, free: 4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.4021, allocations: 0.7929 MB / 0.592 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4021, allocations: 4 kB / 0.592 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.403, allocations: 456.1 kB / 0.5924 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.4042, allocations: 143.4 kB / 0.5925 GB, free: 2.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.4164, allocations: 7.298 MB / 0.5997 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.4169, allocations: 357.1 kB / 0.6 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004938/0.4174, allocations: 102 kB / 0.6001 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/0.4179, allocations: 271.3 kB / 0.6003 GB, free: 10.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4179, allocations: 0 / 0.6003 GB, free: 10.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05432/0.4722, allocations: 15.14 MB / 0.6151 GB, free: 11.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.19, allocations: 19.97 kB / 0.6152 GB, free: 11.37 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 15.484978262800723]