Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 74.73 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 151.4 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 173.4 MB / 201.1 MB, free: 12.67 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 45.92 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09207, allocations: 52.16 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002914/0.09498, allocations: 1.614 MB / 373.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.09587, allocations: 478.8 kB / 373.7 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.09595, allocations: 3.938 kB / 373.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.478e-05/0.096, allocations: 11.92 kB / 373.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.09611, allocations: 7.875 kB / 373.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.09637, allocations: 54.83 kB / 373.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.09648, allocations: 51.84 kB / 373.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.09657, allocations: 15.97 kB / 373.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.794e-05/0.09665, allocations: 27.81 kB / 373.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.09671, allocations: 31.84 kB / 373.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.09673, allocations: 0 / 373.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.09674, allocations: 4 kB / 373.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.09679, allocations: 15.94 kB / 373.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.09683, allocations: 27.84 kB / 373.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.09695, allocations: 67.61 kB / 374 MB, free: 4.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.09695, allocations: 0 / 374 MB, free: 4.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09696, allocations: 7.938 kB / 374 MB, free: 4.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.09696, allocations: 0 / 374 MB, free: 4.914 MB / 334.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.0004779/0.09744, allocations: 305.9 kB / 374.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.09747, allocations: 12.92 kB / 374.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.09751, allocations: 16.84 kB / 374.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.09777, allocations: 142.9 kB / 374.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.09778, allocations: 384 / 374.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.0978, allocations: 8.125 kB / 374.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.09813, allocations: 130.7 kB / 374.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.09814, allocations: 0 / 374.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.09815, allocations: 8 kB / 374.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.09816, allocations: 0 / 374.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.09826, allocations: 31.91 kB / 374.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.09859, allocations: 235 kB / 374.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.09875, allocations: 94.36 kB / 374.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/0.09883, allocations: 43.55 kB / 375 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.09886, allocations: 11.94 kB / 375 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.09889, allocations: 38.5 kB / 375 MB, free: 3.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.09889, allocations: 0 / 375 MB, free: 3.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003089/0.0992, allocations: 109.4 kB / 375.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.09931, allocations: 136.5 kB / 375.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.09946, allocations: 141.8 kB / 375.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.09947, allocations: 30.2 kB / 375.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.09953, allocations: 96.12 kB / 375.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.09955, allocations: 7.953 kB / 375.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.09959, allocations: 21.7 kB / 375.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.09976, allocations: 322.8 kB / 375.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.09982, allocations: 15.98 kB / 375.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.09989, allocations: 44.28 kB / 375.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1, allocations: 68.16 kB / 376 MB, free: 2.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1, allocations: 0 / 376 MB, free: 2.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001801/0.1002, allocations: 77.56 kB / 376.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1002, allocations: 10.81 kB / 376.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1002, allocations: 0 / 376.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1002, allocations: 4 kB / 376.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.1003, allocations: 15.92 kB / 376.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1003, allocations: 8.156 kB / 376.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.1004, allocations: 0 / 376.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1004, allocations: 7.938 kB / 376.1 MB, free: 2.484 MB / 334.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 9.398e-05/0.1005, allocations: 117.8 kB / 376.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1006, allocations: 61.58 kB / 376.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.1006, allocations: 15.95 kB / 376.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1006, allocations: 0 / 376.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1006, allocations: 4 kB / 376.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1006, allocations: 0 / 376.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1008, allocations: 125.2 kB / 376.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1008, allocations: 4 kB / 376.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.1009, allocations: 15.98 kB / 376.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1009, allocations: 0 / 376.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1009, allocations: 0 / 376.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1009, allocations: 4 kB / 376.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1009, allocations: 3.938 kB / 376.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1011, allocations: 201.9 kB / 376.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.1012, allocations: 19.94 kB / 376.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1012, allocations: 8.172 kB / 376.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.1013, allocations: 8 kB / 376.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.1014, allocations: 4 kB / 376.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.1014, allocations: 0 / 376.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.075e-05/0.1015, allocations: 122.2 kB / 376.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1015, allocations: 0 / 376.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1017, allocations: 8 kB / 376.8 MB, free: 1.703 MB / 334.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 9.752e-05/0.1018, allocations: 103.1 kB / 376.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.102, allocations: 48.09 kB / 377 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.102, allocations: 0 / 377 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.102, allocations: 12 kB / 377 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1024, allocations: 31.94 kB / 377 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.1028, allocations: 205.9 kB / 377.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.659e-05/0.1029, allocations: 76.05 kB / 377.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.164e-05/0.1029, allocations: 11.98 kB / 377.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.1029, allocations: 12.5 kB / 377.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1029, allocations: 0 / 377.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of Templates: time 0.003287/0.1062, allocations: 0.7854 MB / 378.1 MB, free: 384 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.319128826027736]