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.001216/0.001216, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005892/0.005892, allocations: 163.9 kB / 24.7 MB, free: 9.43 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.8527/0.8527, allocations: 177.1 MB / 205 MB, free: 5.727 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.17e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002345/0.002367, allocations: 1.632 MB / 327.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000839/0.003206, allocations: 0.5451 MB / 328 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.00329, allocations: 4 kB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/0.003336, allocations: 11.88 kB / 328 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.003472, allocations: 11.88 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.003767, allocations: 68.67 kB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.003879, allocations: 55.78 kB / 328.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.003974, allocations: 15.98 kB / 328.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.004095, allocations: 43.83 kB / 328.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.004146, allocations: 15.92 kB / 328.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.004162, allocations: 4 kB / 328.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.901e-05/0.004201, allocations: 11.98 kB / 328.3 MB, free: 13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.004243, allocations: 11.94 kB / 328.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.004269, allocations: 23.92 kB / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.004409, allocations: 67.72 kB / 328.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004413, allocations: 3.984 kB / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004414, allocations: 0 / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004417, allocations: 0 / 328.4 MB, free: 12.89 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.0004063/0.004823, allocations: 313.2 kB / 328.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.004858, allocations: 8.031 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.004977, allocations: 20.88 kB / 328.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.005185, allocations: 158 kB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.005195, allocations: 384 / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.005206, allocations: 4.375 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.005474, allocations: 131.3 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.005486, allocations: 11.88 kB / 329 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.005495, allocations: 0 / 329 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.0055, allocations: 0 / 329 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.005565, allocations: 31.92 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.005845, allocations: 227.1 kB / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.00595, allocations: 90.36 kB / 329.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.006008, allocations: 43.48 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.006033, allocations: 8 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.00606, allocations: 42.48 kB / 329.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.006062, allocations: 4 kB / 329.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002402/0.006303, allocations: 97.5 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.006373, allocations: 140.5 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.006491, allocations: 145.6 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.006504, allocations: 25.7 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.006548, allocations: 96.12 kB / 329.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.006564, allocations: 7.891 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.006596, allocations: 26.17 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.006685, allocations: 322.8 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.006712, allocations: 8 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/0.006742, allocations: 21.7 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.788e-05/0.0068, allocations: 33.64 kB / 330.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.006801, allocations: 0 / 330.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.62e-05/0.006888, allocations: 53.81 kB / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.006899, allocations: 8 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.006904, allocations: 3.938 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006915, allocations: 0 / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.006965, allocations: 7.984 kB / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.006971, allocations: 4 kB / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.006993, allocations: 0 / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.007, allocations: 0 / 330.4 MB, free: 10.58 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 7.214e-05/0.007072, allocations: 125.8 kB / 330.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.007139, allocations: 61.55 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.007171, allocations: 23.97 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.007174, allocations: 4 kB / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.007179, allocations: 0 / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007182, allocations: 0 / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.007317, allocations: 125.2 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.00732, allocations: 7.984 kB / 330.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.007365, allocations: 8 kB / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007367, allocations: 0 / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.007374, allocations: 4 kB / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007376, allocations: 3.984 kB / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.007378, allocations: 11.94 kB / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.007526, allocations: 193.9 kB / 331 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.007561, allocations: 19.94 kB / 331 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.007573, allocations: 0 / 331 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.007629, allocations: 8 kB / 331 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.007656, allocations: 3.938 kB / 331 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.007662, allocations: 4 kB / 331 MB, free: 9.914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.007728, allocations: 111.2 kB / 331.1 MB, free: 9.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007728, allocations: 0 / 331.1 MB, free: 9.805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.007954, allocations: 4 kB / 331.1 MB, free: 9.801 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 7.818e-05/0.008032, allocations: 103.2 kB / 331.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.008145, allocations: 39.84 kB / 331.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.008147, allocations: 0 / 331.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.008174, allocations: 11.94 kB / 331.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.008515, allocations: 28.02 kB / 331.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.008834, allocations: 233.9 kB / 331.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.005e-05/0.008904, allocations: 87.38 kB / 331.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.008932, allocations: 12.48 kB / 331.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008933, allocations: 4 kB / 331.6 MB, free: 9.219 MB / 298.7 MB Notification: Performance of Templates: time 0.001792/0.01072, allocations: 0.9192 MB / 332.5 MB, free: 8.305 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] 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: 4.216683805920184]