Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.0007832/0.0007832, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001824, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000704/0.000704, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009075/0.001612, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9879/0.9879, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09025/1.078, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|//shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|//shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.204e-05, allocations: 6.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003181/0.003203, allocations: 1.95 MB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.004381, allocations: 0.6815 MB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.004529, allocations: 11.88 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.004642, allocations: 31.72 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.00475, allocations: 27.8 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.005106, allocations: 111.6 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.005311, allocations: 143.5 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.005441, allocations: 42.61 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.005661, allocations: 99.73 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.005746, allocations: 35.83 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.005769, allocations: 8 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.005852, allocations: 16 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.005902, allocations: 23.88 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.005945, allocations: 31.94 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.006145, allocations: 95.55 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.006162, allocations: 0 / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.006163, allocations: 0 / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.006179, allocations: 0 / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005325/0.006711, allocations: 375.9 kB / 248.7 MB, free: 9.926 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.332e-05/0.006785, allocations: 8.031 kB / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.007008, allocations: 106 kB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.007236, allocations: 190.4 kB / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.007253, allocations: 4.562 kB / 249 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.007267, allocations: 8.375 kB / 249 MB, free: 9.574 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.007525, allocations: 250.5 kB / 249.2 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.007532, allocations: 0 / 249.2 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.007544, allocations: 15.98 kB / 249.3 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.007549, allocations: 3.938 kB / 249.3 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.007585, allocations: 19.94 kB / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.007842, allocations: 282.9 kB / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.00804, allocations: 136.8 kB / 249.7 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.008099, allocations: 68.33 kB / 249.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.008128, allocations: 7.984 kB / 249.8 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.008153, allocations: 42.56 kB / 249.8 MB, free: 8.625 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.008154, allocations: 0 / 249.8 MB, free: 8.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001845/0.008339, allocations: 113.7 kB / 249.9 MB, free: 8.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.008411, allocations: 170.4 kB / 250.1 MB, free: 8.305 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.008498, allocations: 166.5 kB / 250.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.008511, allocations: 33.7 kB / 250.3 MB, free: 8.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.008547, allocations: 96.05 kB / 250.4 MB, free: 7.992 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.008561, allocations: 3.953 kB / 250.4 MB, free: 7.988 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.008588, allocations: 18.09 kB / 250.4 MB, free: 7.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.008659, allocations: 334.7 kB / 250.7 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-06/0.008666, allocations: 0 / 250.7 MB, free: 7.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.008689, allocations: 48.27 kB / 250.8 MB, free: 7.566 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.008712, allocations: 21.66 kB / 250.8 MB, free: 7.539 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008713, allocations: 0 / 250.8 MB, free: 7.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.039e-05/0.008754, allocations: 45.67 kB / 250.8 MB, free: 7.488 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.008765, allocations: 8 kB / 250.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.008769, allocations: 0 / 250.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.008779, allocations: 4.156 kB / 250.8 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.008827, allocations: 7.984 kB / 250.9 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.008831, allocations: 3.938 kB / 250.9 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.008858, allocations: 4 kB / 250.9 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.008862, allocations: 3.938 kB / 250.9 MB, free: 7.457 MB / 250.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.059e-05/0.008923, allocations: 116.7 kB / 251 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.009004, allocations: 85.53 kB / 251.1 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.009036, allocations: 25.45 kB / 251.1 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009038, allocations: 0 / 251.1 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.009041, allocations: 4.031 kB / 251.1 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.009044, allocations: 4 kB / 251.1 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.009174, allocations: 105.7 kB / 251.2 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009175, allocations: 4 kB / 251.2 MB, free: 7.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.009241, allocations: 43.84 kB / 251.2 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.009277, allocations: 23.91 kB / 251.3 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.009279, allocations: 0 / 251.3 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.009287, allocations: 7.984 kB / 251.3 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.009289, allocations: 3.984 kB / 251.3 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00929, allocations: 4 kB / 251.3 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.76e-05/0.009378, allocations: 241.3 kB / 251.5 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.009391, allocations: 0 / 251.5 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.009457, allocations: 15.98 kB / 251.5 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.009476, allocations: 0 / 251.5 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.00948, allocations: 4 kB / 251.5 MB, free: 6.727 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.346e-05/0.009514, allocations: 53.84 kB / 251.6 MB, free: 6.672 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009514, allocations: 0 / 251.6 MB, free: 6.672 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00014/0.009654, allocations: 12 kB / 251.6 MB, free: 6.66 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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 8.412e-05/0.009738, allocations: 88.34 kB / 251.7 MB, free: 6.562 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.009811, allocations: 36.83 kB / 251.7 MB, free: 6.523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.009816, allocations: 7.984 kB / 251.7 MB, free: 6.516 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.00983, allocations: 8.859 kB / 251.7 MB, free: 6.504 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.01014, allocations: 91.03 kB / 251.8 MB, free: 6.418 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.01104, allocations: 383.8 kB / 252.2 MB, free: 6 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.209e-05/0.01109, allocations: 75.83 kB / 252.3 MB, free: 5.906 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.064e-05/0.01112, allocations: 9.141 kB / 252.3 MB, free: 5.898 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.0112, allocations: 83.34 kB / 252.4 MB, free: 5.816 MB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0112, allocations: 0 / 252.4 MB, free: 5.816 MB / 250.7 MB Notification: Performance of Templates: time 0.003181/0.01438, allocations: 1.93 MB / 254.3 MB, free: 3.93 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4774536974728107]