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.0009783/0.0009783, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002407, allocations: 457.8 kB / 10.45 MB, free: 244 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.0009208/0.0009208, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002264, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9096/0.9096, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09404/1.004, allocations: 53.88 MB / 243.9 MB, free: 14.86 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 2.274e-06/2.274e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.76e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004006/0.004034, allocations: 1.935 MB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.005044, allocations: 0.6971 MB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.005168, allocations: 11.88 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.00527, allocations: 15.8 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.005358, allocations: 31.72 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.005685, allocations: 115.6 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.005856, allocations: 139.5 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.005972, allocations: 54.47 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.006161, allocations: 95.73 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/0.006231, allocations: 39.83 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.006252, allocations: 12 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.838e-05/0.00631, allocations: 15.98 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.006355, allocations: 23.94 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.006384, allocations: 27.88 kB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.006565, allocations: 87.56 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.006578, allocations: 0 / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006579, allocations: 0 / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.006589, allocations: 4 kB / 248.5 MB, free: 10.26 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.0004558/0.007045, allocations: 376 kB / 248.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.007078, allocations: 12.03 kB / 248.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.007237, allocations: 110 kB / 249 MB, free: 9.73 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.00746, allocations: 182.4 kB / 249.2 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.007478, allocations: 8.562 kB / 249.2 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.007495, allocations: 20.36 kB / 249.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.007761, allocations: 250.5 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.007768, allocations: 0 / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.007777, allocations: 0 / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.007784, allocations: 4 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.00782, allocations: 27.92 kB / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.00807, allocations: 278.9 kB / 249.7 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.00823, allocations: 144.8 kB / 249.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.008279, allocations: 64.27 kB / 249.9 MB, free: 8.617 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.008301, allocations: 4 kB / 250 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.008329, allocations: 38.56 kB / 250 MB, free: 8.566 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.00833, allocations: 0 / 250 MB, free: 8.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001846/0.008514, allocations: 117.8 kB / 250.1 MB, free: 8.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.008575, allocations: 174.1 kB / 250.3 MB, free: 8.238 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.008669, allocations: 170.5 kB / 250.4 MB, free: 8.059 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.008681, allocations: 25.7 kB / 250.5 MB, free: 8.027 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.00872, allocations: 104 kB / 250.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.008734, allocations: 7.953 kB / 250.6 MB, free: 7.914 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.008762, allocations: 17.7 kB / 250.6 MB, free: 7.891 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.008848, allocations: 322.8 kB / 250.9 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.00886, allocations: 8 kB / 250.9 MB, free: 7.559 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.00889, allocations: 48.27 kB / 251 MB, free: 7.496 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.008917, allocations: 25.8 kB / 251 MB, free: 7.465 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008919, allocations: 0 / 251 MB, free: 7.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.938e-05/0.008969, allocations: 45.69 kB / 251 MB, free: 7.414 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.008982, allocations: 4 kB / 251 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008988, allocations: 0 / 251 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.009, allocations: 0 / 251 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.009057, allocations: 11.94 kB / 251 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.009061, allocations: 0 / 251 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.009089, allocations: 8.047 kB / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.009094, allocations: 7.938 kB / 251.1 MB, free: 7.383 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.816e-05/0.009163, allocations: 112.7 kB / 251.2 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.009254, allocations: 81.59 kB / 251.3 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.009289, allocations: 21.7 kB / 251.3 MB, free: 7.16 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.0093, allocations: 4 kB / 251.3 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.009304, allocations: 7.969 kB / 251.3 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.009309, allocations: 4 kB / 251.3 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.009462, allocations: 105.7 kB / 251.4 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.009464, allocations: 0 / 251.4 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.009542, allocations: 43.95 kB / 251.4 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.009581, allocations: 19.89 kB / 251.5 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.009585, allocations: 4 kB / 251.5 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.009592, allocations: 4 kB / 251.5 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.009596, allocations: 7.984 kB / 251.5 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009597, allocations: 0 / 251.5 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.009707, allocations: 237.3 kB / 251.7 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.009722, allocations: 8 kB / 251.7 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.009789, allocations: 4 kB / 251.7 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.009815, allocations: 12.02 kB / 251.7 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.009821, allocations: 4 kB / 251.7 MB, free: 6.66 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.756e-05/0.009859, allocations: 49.86 kB / 251.8 MB, free: 6.609 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009859, allocations: 3.938 kB / 251.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001507/0.01001, allocations: 16 kB / 251.8 MB, free: 6.59 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 0.000115/0.01012, allocations: 88.34 kB / 251.9 MB, free: 6.492 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.999e-05/0.01021, allocations: 36.06 kB / 251.9 MB, free: 6.457 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.01022, allocations: 4 kB / 251.9 MB, free: 6.453 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.01025, allocations: 17.03 kB / 251.9 MB, free: 6.434 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.01067, allocations: 340.1 kB / 252.3 MB, free: 6.043 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.01162, allocations: 375.8 kB / 252.6 MB, free: 5.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.534e-05/0.01167, allocations: 83.83 kB / 252.7 MB, free: 5.531 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.01171, allocations: 9.141 kB / 252.7 MB, free: 5.523 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.0118, allocations: 79.34 kB / 252.8 MB, free: 5.445 MB / 250.7 MB Notification: Performance of SimCode: time 1.383e-06/0.0118, allocations: 0 / 252.8 MB, free: 5.445 MB / 250.7 MB Notification: Performance of Templates: time 0.004032/0.01583, allocations: 1.932 MB / 254.7 MB, free: 3.551 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.493714719079435]