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.000999/0.000999, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001022/0.001022, allocations: 155.1 kB / 25.61 MB, free: 8.602 MB / 18.57 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.9278/0.9278, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.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 8.52e-07/8.52e-07, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.148e-05, allocations: 5.047 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002075/0.002086, allocations: 1.887 MB / 276 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000759/0.002845, allocations: 0.6699 MB / 276.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.002937, allocations: 13.03 kB / 276.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.577e-05/0.003033, allocations: 19.73 kB / 276.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.00312, allocations: 24.42 kB / 276.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.003339, allocations: 111.6 kB / 276.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.003457, allocations: 144.4 kB / 277 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.003551, allocations: 45.89 kB / 277 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.003659, allocations: 89.77 kB / 277.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.003711, allocations: 39.83 kB / 277.2 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.003727, allocations: 8 kB / 277.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-05/0.003757, allocations: 12 kB / 277.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.003793, allocations: 35.84 kB / 277.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.003818, allocations: 28.58 kB / 277.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003937, allocations: 111.5 kB / 277.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003938, allocations: 2.469 kB / 277.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003938, allocations: 0 / 277.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003942, allocations: 0 / 277.4 MB, free: 1.055 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.0003392/0.004281, allocations: 475.9 kB / 277.8 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.579e-05/0.004307, allocations: 8.031 kB / 277.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.469e-05/0.004401, allocations: 36.83 kB / 277.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.00456, allocations: 197 kB / 278.1 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.004574, allocations: 12.55 kB / 278.1 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.004584, allocations: 12.38 kB / 278.1 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.004915, allocations: 272.4 kB / 278.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.004922, allocations: 3.938 kB / 278.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.004932, allocations: 4 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.004935, allocations: 0 / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.004981, allocations: 27.91 kB / 278.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.005224, allocations: 438.1 kB / 278.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.00538, allocations: 187.4 kB / 279 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.005435, allocations: 94.44 kB / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.005449, allocations: 4 kB / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.005468, allocations: 41.38 kB / 279.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.005469, allocations: 0 / 279.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001757/0.005644, allocations: 137.4 kB / 279.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.005706, allocations: 195.9 kB / 279.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.005801, allocations: 226.6 kB / 279.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.005812, allocations: 26.08 kB / 279.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.005862, allocations: 158.8 kB / 279.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.005872, allocations: 3.953 kB / 279.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.005899, allocations: 27.31 kB / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.006006, allocations: 0.5 MB / 280.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-06/0.006012, allocations: 0 / 280.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.006039, allocations: 56.77 kB / 280.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.406e-05/0.006063, allocations: 23.31 kB / 280.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.006064, allocations: 0 / 280.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.162e-05/0.006116, allocations: 49.77 kB / 280.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.006125, allocations: 11.94 kB / 280.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.006128, allocations: 0 / 280.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.006135, allocations: 0 / 280.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.326e-05/0.006168, allocations: 4 kB / 280.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.006171, allocations: 0 / 280.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.006198, allocations: 15.92 kB / 280.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.006202, allocations: 0 / 280.5 MB, free: 13.49 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 6.014e-05/0.006262, allocations: 160.6 kB / 280.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.006358, allocations: 101.7 kB / 280.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.006384, allocations: 33.5 kB / 280.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006386, allocations: 0 / 280.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006389, allocations: 4 kB / 280.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.006393, allocations: 3.984 kB / 280.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.006526, allocations: 141 kB / 281 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006527, allocations: 0 / 281 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.006584, allocations: 31.98 kB / 281 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.006586, allocations: 4 kB / 281 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.006592, allocations: 0 / 281 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.006593, allocations: 4 kB / 281 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.006597, allocations: 11.86 kB / 281 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.006704, allocations: 350 kB / 281.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.006743, allocations: 27.88 kB / 281.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.006756, allocations: 8 kB / 281.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.006821, allocations: 4 kB / 281.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.006839, allocations: 11.98 kB / 281.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.006845, allocations: 4 kB / 281.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.775e-05/0.006903, allocations: 164.2 kB / 281.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006903, allocations: 0 / 281.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.00707, allocations: 16 kB / 281.6 MB, free: 12.36 MB / 266.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 5.766e-05/0.007127, allocations: 111.1 kB / 281.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.007199, allocations: 43.55 kB / 281.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-06/0.0072, allocations: 0 / 281.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.007212, allocations: 11.69 kB / 281.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.007521, allocations: 82.84 kB / 281.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.008086, allocations: 370.2 kB / 282.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.254e-05/0.008128, allocations: 75.83 kB / 282.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.655e-05/0.008155, allocations: 13.14 kB / 282.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.008239, allocations: 110.1 kB / 282.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.00824, allocations: 0 / 282.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Templates: time 0.002974/0.01121, allocations: 1.908 MB / 284.3 MB, free: 9.613 MB / 266.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 -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.653168377932161]