Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.00164/0.00164, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.002002/0.002002, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.522/1.522, allocations: 230.4 MB / 255.4 MB, free: 14.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: 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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.77 kB / 374.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1255, allocations: 53.31 MB / 428.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003146/0.1286, allocations: 1.627 MB / 429.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1299, allocations: 0.5726 MB / 430.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.887e-05/0.13, allocations: 7.938 kB / 430.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.315e-05/0.13, allocations: 3.938 kB / 430.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1302, allocations: 19.86 kB / 430.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1305, allocations: 59.81 kB / 430.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.1307, allocations: 55.73 kB / 430.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1308, allocations: 19.97 kB / 430.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1309, allocations: 31.86 kB / 430.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.633e-05/0.131, allocations: 23.8 kB / 430.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.131, allocations: 4 kB / 430.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.131, allocations: 15.98 kB / 430.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.1311, allocations: 15.92 kB / 430.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.1311, allocations: 31.81 kB / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1313, allocations: 71.59 kB / 430.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1313, allocations: 0 / 430.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1313, allocations: 0 / 430.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1313, allocations: 0 / 430.6 MB, free: 1.781 MB / 350.1 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.000575/0.1319, allocations: 394.9 kB / 431 MB, free: 1.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.132, allocations: 8.031 kB / 431 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.1321, allocations: 16.89 kB / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1324, allocations: 219.7 kB / 431.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1324, allocations: 4.375 kB / 431.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1325, allocations: 8.125 kB / 431.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.1328, allocations: 134.7 kB / 431.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1328, allocations: 0 / 431.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1328, allocations: 0 / 431.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1328, allocations: 0 / 431.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.714e-05/0.1329, allocations: 27.92 kB / 431.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.1333, allocations: 291.5 kB / 431.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1335, allocations: 90.3 kB / 431.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.1336, allocations: 47.55 kB / 431.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1336, allocations: 4 kB / 431.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.1337, allocations: 34.5 kB / 431.9 MB, free: 312 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.1337, allocations: 0 / 431.9 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003629/0.134, allocations: 109.8 kB / 432 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1341, allocations: 136.5 kB / 432.1 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2455/0.3796, allocations: 138.2 kB / 432.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3796, allocations: 30.58 kB / 432.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.3797, allocations: 92.55 kB / 432.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.3797, allocations: 9.188 kB / 432.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.3797, allocations: 19.53 kB / 432.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.3798, allocations: 318 kB / 432.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.3799, allocations: 13.92 kB / 432.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.3799, allocations: 43.38 kB / 432.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3801, allocations: 60.03 kB / 432.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3801, allocations: 0 / 432.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001928/0.3803, allocations: 88.94 kB / 432.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3803, allocations: 9.25 kB / 432.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3803, allocations: 1.562 kB / 432.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.3803, allocations: 2.344 kB / 432.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3804, allocations: 22.23 kB / 432.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.3804, allocations: 2.234 kB / 432.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.3805, allocations: 4.797 kB / 432.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3805, allocations: 3.172 kB / 432.9 MB, free: 10.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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 prepare postOptimizeDAE: time 7.593e-05/0.3806, allocations: 122.3 kB / 433.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.3807, allocations: 61.59 kB / 433.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.3807, allocations: 13.53 kB / 433.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3807, allocations: 6.234 kB / 433.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3807, allocations: 0.75 kB / 433.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3807, allocations: 2.281 kB / 433.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.3809, allocations: 178.9 kB / 433.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3809, allocations: 1.531 kB / 433.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.381, allocations: 18.8 kB / 433.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.381, allocations: 4.188 kB / 433.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.381, allocations: 2.172 kB / 433.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.381, allocations: 3.016 kB / 433.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.381, allocations: 4.438 kB / 433.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.3812, allocations: 201 kB / 433.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.3813, allocations: 102.8 kB / 433.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.3813, allocations: 2.688 kB / 433.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.3813, allocations: 3.531 kB / 433.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.3814, allocations: 7.391 kB / 433.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.3814, allocations: 2.938 kB / 433.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.534e-05/0.3815, allocations: 115.7 kB / 433.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3815, allocations: 0 / 433.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3817, allocations: 7.531 kB / 433.8 MB, free: 10.14 MB / 350.1 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.000102/0.3818, allocations: 97 kB / 433.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.382, allocations: 47.12 kB / 433.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.382, allocations: 3.625 kB / 433.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.382, allocations: 10.27 kB / 433.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3824, allocations: 38.83 kB / 434 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.3828, allocations: 231.2 kB / 434.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.383, allocations: 0.697 MB / 434.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.383, allocations: 13.47 kB / 434.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.383, allocations: 1 kB / 434.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Templates: time 0.002579/0.3856, allocations: 0.9579 MB / 435.9 MB, free: 9.133 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.050386703107506]