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.001732/0.001732, allocations: 88.59 kB / 20.69 MB, free: 1.016 MB / 14.72 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.002026/0.002026, allocations: 157.2 kB / 23.95 MB, free: 4.148 MB / 14.72 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 1.49/1.49, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.404e-06/2.404e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.279e-05, allocations: 5.234 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004754/0.004787, allocations: 1.84 MB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.006646, allocations: 0.6626 MB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.006787, allocations: 7.094 kB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.006958, allocations: 17.56 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.007124, allocations: 31.59 kB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.007687, allocations: 120.8 kB / 327.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.008002, allocations: 153.6 kB / 327.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.008195, allocations: 38.19 kB / 327.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.008462, allocations: 80.19 kB / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.008579, allocations: 40.91 kB / 328 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.008616, allocations: 10.03 kB / 328 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.008679, allocations: 11.72 kB / 328 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.008762, allocations: 35.61 kB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.027e-05/0.008832, allocations: 36.3 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.009187, allocations: 152.4 kB / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.009191, allocations: 0 / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.009193, allocations: 0.5625 kB / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.009198, allocations: 0.9688 kB / 328.2 MB, free: 14.42 MB / 302.1 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.0008589/0.01006, allocations: 375.7 kB / 328.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.01011, allocations: 14.17 kB / 328.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.01036, allocations: 30.08 kB / 328.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.01091, allocations: 200.6 kB / 328.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.01095, allocations: 9.594 kB / 328.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.01098, allocations: 9.594 kB / 328.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.01201, allocations: 307.1 kB / 329.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.01203, allocations: 0.9375 kB / 329.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.01205, allocations: 1.125 kB / 329.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.01206, allocations: 2.406 kB / 329.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.01241, allocations: 78.45 kB / 329.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.01305, allocations: 352.5 kB / 329.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006831/0.01374, allocations: 210.5 kB / 329.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.01406, allocations: 102.5 kB / 329.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.01409, allocations: 4.078 kB / 329.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.01414, allocations: 44.86 kB / 330 MB, free: 13.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.144e-06/0.01415, allocations: 0 / 330 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008082/0.01495, allocations: 214.1 kB / 330.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/0.01514, allocations: 195.8 kB / 330.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.01539, allocations: 189.8 kB / 330.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.01543, allocations: 31.11 kB / 330.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01553, allocations: 107.3 kB / 330.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.01556, allocations: 8.156 kB / 330.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.12e-05/0.01562, allocations: 19.12 kB / 330.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.01581, allocations: 325.2 kB / 331 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.01588, allocations: 11.16 kB / 331 MB, free: 12.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.01598, allocations: 50.72 kB / 331.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.01611, allocations: 34.81 kB / 331.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01612, allocations: 0 / 331.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.01632, allocations: 59.52 kB / 331.2 MB, free: 12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.01634, allocations: 12.66 kB / 331.2 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01634, allocations: 1.094 kB / 331.2 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.01636, allocations: 1.719 kB / 331.2 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.01645, allocations: 14.3 kB / 331.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.01646, allocations: 3.938 kB / 331.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.462e-05/0.01654, allocations: 4.812 kB / 331.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.01655, allocations: 1.797 kB / 331.2 MB, free: 11.98 MB / 302.1 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.0001676/0.01672, allocations: 123.9 kB / 331.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.01719, allocations: 141.7 kB / 331.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.715e-05/0.01726, allocations: 25.02 kB / 331.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.01727, allocations: 4.031 kB / 331.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.01727, allocations: 1.156 kB / 331.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.01729, allocations: 6.219 kB / 331.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.01773, allocations: 154.3 kB / 331.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01774, allocations: 5.062 kB / 331.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.01795, allocations: 33.92 kB / 331.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.01796, allocations: 2.531 kB / 331.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.01798, allocations: 7.156 kB / 331.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01798, allocations: 5.156 kB / 331.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.01799, allocations: 3.156 kB / 331.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/0.01864, allocations: 359 kB / 332.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.01876, allocations: 35.67 kB / 332.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.01879, allocations: 2.703 kB / 332.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.01906, allocations: 13.44 kB / 332.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.0191, allocations: 3.469 kB / 332.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.01912, allocations: 14.08 kB / 332.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.0193, allocations: 134.1 kB / 332.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0193, allocations: 3.938 kB / 332.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005624/0.01987, allocations: 16.72 kB / 332.3 MB, free: 11.21 MB / 302.1 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.0001504/0.02002, allocations: 103.6 kB / 332.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.02036, allocations: 72.16 kB / 332.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02036, allocations: 0 / 332.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.371e-05/0.02042, allocations: 15.7 kB / 332.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.02149, allocations: 100.5 kB / 332.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.02337, allocations: 440.4 kB / 333 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.02355, allocations: 113.9 kB / 333.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.27e-05/0.02361, allocations: 10.67 kB / 333.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.02367, allocations: 19.38 kB / 333.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.02367, allocations: 0 / 333.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Templates: time 0.007487/0.03116, allocations: 1.703 MB / 334.8 MB, free: 9.762 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.433823958039284]