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.001274/0.001274, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001467/0.001467, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2344/0.2344, allocations: 46.97 MB / 360.9 MB, free: 4.059 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.002083/0.002083, allocations: 67.89 kB / 0.4961 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3483, allocations: 66.03 MB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005532/0.3538, allocations: 3.766 MB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.3561, allocations: 1.137 MB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.3563, allocations: 15.88 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.3566, allocations: 106.9 kB / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.357, allocations: 210.1 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.3576, allocations: 227.6 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009223/0.3585, allocations: 0.7978 MB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.3588, allocations: 169.9 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.3593, allocations: 322.9 kB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.3597, allocations: 350.4 kB / 0.5675 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-05/0.3598, allocations: 60 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.36, allocations: 95.94 kB / 0.5676 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.3602, allocations: 147.4 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.3606, allocations: 294.6 kB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008753/0.3614, allocations: 0.7973 MB / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3614, allocations: 0 / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3614, allocations: 0 / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3614, allocations: 0 / 0.5688 GB, free: 11.78 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.001981/0.3634, allocations: 0.9603 MB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3635, allocations: 8.031 kB / 0.5698 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.3636, allocations: 110.6 kB / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.3642, allocations: 144.3 kB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.3648, allocations: 368.2 kB / 0.5704 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.3649, allocations: 49.62 kB / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.365, allocations: 68.08 kB / 0.5705 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.3662, allocations: 0.6077 MB / 0.5711 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.3662, allocations: 15.89 kB / 0.5711 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.3663, allocations: 24 kB / 0.5711 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3663, allocations: 12 kB / 0.5711 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.3674, allocations: 0.5101 MB / 0.5716 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.3708, allocations: 2 MB / 0.5736 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.372, allocations: 0.6455 MB / 0.5742 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.3726, allocations: 316.6 kB / 0.5745 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.3728, allocations: 20.42 kB / 0.5745 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.3728, allocations: 47.25 kB / 0.5746 GB, free: 5.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.835e-06/0.3728, allocations: 8 kB / 0.5746 GB, free: 5.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.00839/0.3812, allocations: 3.944 MB / 0.5784 GB, free: 1.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.3814, allocations: 222.3 kB / 0.5786 GB, free: 1.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.3818, allocations: 397.8 kB / 0.579 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.3819, allocations: 45.7 kB / 0.5791 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.3821, allocations: 285.5 kB / 0.5793 GB, free: 460 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.3825, allocations: 428.3 kB / 0.5797 GB, free: 28 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.3828, allocations: 183 kB / 0.5799 GB, free: 15.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.383, allocations: 382.8 kB / 0.5803 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/0.3836, allocations: 310.4 kB / 0.5806 GB, free: 15.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.3844, allocations: 0.4926 MB / 0.5811 GB, free: 14.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.3859, allocations: 0.8594 MB / 0.5819 GB, free: 13.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3859, allocations: 4 kB / 0.5819 GB, free: 13.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00186/0.3877, allocations: 1.003 MB / 0.5829 GB, free: 12.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.3878, allocations: 8 kB / 0.5829 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3878, allocations: 4 kB / 0.5829 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/0.3878, allocations: 12 kB / 0.5829 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.3888, allocations: 280 kB / 0.5832 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.3889, allocations: 8 kB / 0.5832 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.3893, allocations: 51.91 kB / 0.5832 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/0.3894, allocations: 43.94 kB / 0.5833 GB, free: 12.25 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.000324/0.3897, allocations: 229.6 kB / 0.5835 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.3899, allocations: 87.52 kB / 0.5836 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.3904, allocations: 227.2 kB / 0.5838 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.3904, allocations: 16 kB / 0.5838 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.3905, allocations: 0 / 0.5838 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.3905, allocations: 11.97 kB / 0.5838 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.3941, allocations: 2.133 MB / 0.5859 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.3941, allocations: 4 kB / 0.5859 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.3952, allocations: 247.6 kB / 0.5861 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.3952, allocations: 8.141 kB / 0.5862 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.3953, allocations: 40.2 kB / 0.5862 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.3953, allocations: 8 kB / 0.5862 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3953, allocations: 4 kB / 0.5862 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.3979, allocations: 1.89 MB / 0.588 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.3982, allocations: 131.3 kB / 0.5882 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.947e-05/0.3983, allocations: 31.98 kB / 0.5882 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.3989, allocations: 31.98 kB / 0.5882 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.3991, allocations: 92.42 kB / 0.5883 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.3992, allocations: 35.98 kB / 0.5884 GB, free: 6.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.3995, allocations: 267.1 kB / 0.5886 GB, free: 6.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3995, allocations: 0 / 0.5886 GB, free: 6.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008835/0.4004, allocations: 204 kB / 0.5888 GB, free: 6.449 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.003009/0.4034, allocations: 2.466 MB / 0.5912 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.4051, allocations: 0.7931 MB / 0.592 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4051, allocations: 0 / 0.592 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008591/0.4059, allocations: 463.2 kB / 0.5924 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.408, allocations: 144.8 kB / 0.5926 GB, free: 2.551 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.4251, allocations: 7.298 MB / 0.5997 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.4257, allocations: 353.1 kB / 0.6 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007332/0.4264, allocations: 102 kB / 0.6001 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/0.4271, allocations: 275.3 kB / 0.6004 GB, free: 10.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4271, allocations: 4 kB / 0.6004 GB, free: 10.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0661/0.4932, allocations: 15.45 MB / 0.6155 GB, free: 11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.98, allocations: 7.5 kB / 0.6155 GB, free: 11 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.229230953002116]