Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.0007961/0.0007961, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009643/0.0009643, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9098/0.9098, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.141e-05, allocations: 9.094 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001994/0.002015, allocations: 1.621 MB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.002753, allocations: 0.5375 MB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.002836, allocations: 3.938 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.002883, allocations: 11.86 kB / 326.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.003019, allocations: 19.86 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.003298, allocations: 63.69 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.003404, allocations: 63.77 kB / 326.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.003494, allocations: 8 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.003611, allocations: 43.89 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.003657, allocations: 15.92 kB / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.003671, allocations: 4 kB / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.503e-05/0.003706, allocations: 8 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.003747, allocations: 15.92 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.003771, allocations: 19.92 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.003904, allocations: 71.72 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.003907, allocations: 0 / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003908, allocations: 0 / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.003913, allocations: 3.938 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003778/0.004291, allocations: 309.9 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.004329, allocations: 12.03 kB / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.004357, allocations: 38.75 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.00446, allocations: 16.88 kB / 327.5 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.004664, allocations: 150.1 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.004676, allocations: 8.312 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.004688, allocations: 8.375 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.00492, allocations: 139 kB / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004927, allocations: 0 / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.004936, allocations: 0 / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004941, allocations: 4 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.092e-05/0.004992, allocations: 23.92 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.005282, allocations: 258.5 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.247e-05/0.005374, allocations: 90.36 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.005419, allocations: 51.42 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.005438, allocations: 4 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.005457, allocations: 34.56 kB / 328.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.005458, allocations: 7.938 kB / 328.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001949/0.005653, allocations: 93.56 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.005712, allocations: 140.9 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.005805, allocations: 149.4 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.005815, allocations: 29.7 kB / 328.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.005855, allocations: 92.12 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.00587, allocations: 7.953 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.005897, allocations: 17.67 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.005975, allocations: 322.8 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.005997, allocations: 4 kB / 329.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.006025, allocations: 25.7 kB / 329.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.401e-05/0.006079, allocations: 33.77 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006081, allocations: 3.938 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.731e-05/0.006148, allocations: 49.69 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.006162, allocations: 8 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006167, allocations: 0 / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.006178, allocations: 0 / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.006228, allocations: 7.984 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.006233, allocations: 0 / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.006254, allocations: 7.953 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.006261, allocations: 8 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.337e-05/0.006324, allocations: 125.8 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.006374, allocations: 49.66 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.006405, allocations: 19.91 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.006407, allocations: 0 / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.006412, allocations: 4 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006415, allocations: 0 / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.006536, allocations: 148.7 kB / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.006539, allocations: 7.984 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.006574, allocations: 19.98 kB / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.006578, allocations: 8 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.006584, allocations: 0 / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.006585, allocations: 3.938 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006587, allocations: 4 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.006711, allocations: 193.9 kB / 329.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.006745, allocations: 23.88 kB / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.006757, allocations: 0 / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.006793, allocations: 7.938 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.006823, allocations: 11.98 kB / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.006827, allocations: 4 kB / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.006879, allocations: 115.2 kB / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006879, allocations: 0 / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.007029, allocations: 4 kB / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002958/0.007325, allocations: 0.7266 MB / 330.7 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.366e-05/0.007418, allocations: 32.05 kB / 330.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.00742, allocations: 0 / 330.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.007441, allocations: 15.92 kB / 330.7 MB, free: 9.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.007718, allocations: 31.95 kB / 330.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.008629, allocations: 1.383 MB / 332.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.164e-05/0.008691, allocations: 94.56 kB / 332.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.788e-05/0.008718, allocations: 0 / 332.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.00876, allocations: 24.48 kB / 332.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008761, allocations: 0 / 332.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.02646, allocations: 2.555 MB / 334.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/6.924, allocations: 3.125 kB / 334.8 MB, free: 5.293 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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: 8.613047797232866]