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.001484/0.001484, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001724/0.001724, allocations: 157.7 kB / 24.27 MB, free: 176 kB / 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 1.509/1.509, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.264e-06/2.264e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.195e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003555/0.003587, allocations: 1.629 MB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.004879, allocations: 0.5375 MB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.046e-05/0.00497, allocations: 3.938 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.352e-05/0.005023, allocations: 7.938 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.005164, allocations: 11.86 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.005523, allocations: 59.7 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.005656, allocations: 63.77 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.005745, allocations: 11.98 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.005906, allocations: 43.83 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.005972, allocations: 23.92 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.005995, allocations: 4 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.006044, allocations: 4 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.006101, allocations: 11.94 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.006148, allocations: 23.91 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.006407, allocations: 67.72 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.00641, allocations: 0 / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00641, allocations: 0 / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.006417, allocations: 0 / 274.8 MB, free: 15.3 MB / 266.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.0006902/0.007107, allocations: 313.8 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.007152, allocations: 16.03 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.007367, allocations: 20.88 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.007779, allocations: 154.1 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.007798, allocations: 4.375 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.007821, allocations: 4.375 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.008258, allocations: 135.2 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.008269, allocations: 3.938 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.008282, allocations: 4 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.008287, allocations: 0 / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.008391, allocations: 31.92 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.008786, allocations: 223.2 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.00895, allocations: 90.41 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.009049, allocations: 51.38 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.00908, allocations: 7.984 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.009116, allocations: 34.56 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.009117, allocations: 3.938 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000407/0.009524, allocations: 101.5 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.009635, allocations: 136.5 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.009806, allocations: 149.9 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.009828, allocations: 29.7 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.009907, allocations: 96.12 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.009923, allocations: 3.953 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.009963, allocations: 17.67 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.01015, allocations: 322.8 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.0102, allocations: 8 kB / 276.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.01024, allocations: 21.7 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.002e-05/0.01033, allocations: 33.77 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.01033, allocations: 0 / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001424/0.01048, allocations: 57.62 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01049, allocations: 4 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.0105, allocations: 0 / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01051, allocations: 4 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.01058, allocations: 7.984 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01059, allocations: 0 / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.01063, allocations: 4 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.01064, allocations: 4.062 kB / 276.9 MB, free: 12.98 MB / 266.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 0.000105/0.01074, allocations: 121.8 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.01085, allocations: 69.55 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.01088, allocations: 15.95 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01089, allocations: 0 / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.01089, allocations: 4 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.0109, allocations: 0 / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.0111, allocations: 129.2 kB / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.0111, allocations: 0 / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.01118, allocations: 23.98 kB / 277.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01118, allocations: 0 / 277.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01119, allocations: 7.984 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01119, allocations: 0 / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.0112, allocations: 0 / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.01145, allocations: 201.9 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.0115, allocations: 15.94 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.01151, allocations: 3.938 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.01159, allocations: 8 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.01162, allocations: 0 / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.01163, allocations: 8 kB / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.867e-05/0.01173, allocations: 111.2 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01173, allocations: 0 / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01197, allocations: 8 kB / 277.6 MB, free: 12.2 MB / 266.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.0001145/0.01208, allocations: 99.23 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.01235, allocations: 35.86 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01236, allocations: 0 / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.0124, allocations: 16.12 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.01279, allocations: 33.06 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.01324, allocations: 197.6 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.01334, allocations: 86.5 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.166e-05/0.01337, allocations: 0 / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.01341, allocations: 12.81 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01341, allocations: 4 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Templates: time 0.003589/0.017, allocations: 0.7577 MB / 278.8 MB, free: 10.92 MB / 266.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.355507330968976]