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.001191/0.001191, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001206/0.001206, allocations: 161.2 kB / 24.91 MB, free: 8.258 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 1.052/1.052, allocations: 177 MB / 205.2 MB, free: 5.469 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 2.485e-06/2.485e-06, allocations: 3.984 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/2.052e-05, allocations: 2.312 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.005907/0.005927, allocations: 1.934 MB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.007092, allocations: 0.6931 MB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.007229, allocations: 7.938 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.007378, allocations: 19.8 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.007514, allocations: 31.72 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.007847, allocations: 107.6 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.008031, allocations: 147.5 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.008165, allocations: 50.55 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.00835, allocations: 79.8 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.008427, allocations: 35.89 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.008449, allocations: 8 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.008512, allocations: 23.98 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.008562, allocations: 27.86 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.008599, allocations: 39.84 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.008771, allocations: 99.53 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.008773, allocations: 0 / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008775, allocations: 0 / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.008781, allocations: 4 kB / 276.7 MB, free: 13.87 MB / 266.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.000404/0.009185, allocations: 352.3 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.009224, allocations: 11.98 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.009342, allocations: 28.92 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.009533, allocations: 190.1 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.009551, allocations: 8.562 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.009561, allocations: 4.375 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.009817, allocations: 257.3 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.009827, allocations: 7.984 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.009836, allocations: 4 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.009842, allocations: 4 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/0.009879, allocations: 19.92 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.01013, allocations: 282.8 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.01029, allocations: 144.7 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.01035, allocations: 68.39 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.01036, allocations: 4 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.01039, allocations: 42.5 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.01039, allocations: 0 / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001783/0.01057, allocations: 109.5 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.01064, allocations: 195.9 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.01074, allocations: 179.2 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.01075, allocations: 30.08 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.01079, allocations: 96.11 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.0108, allocations: 3.953 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.01083, allocations: 21.7 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.0109, allocations: 322.8 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-06/0.01091, allocations: 0 / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.01094, allocations: 52.25 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.01096, allocations: 25.59 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01096, allocations: 4 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.483e-05/0.01101, allocations: 45.72 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.01102, allocations: 8 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01103, allocations: 0 / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01105, allocations: 0 / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.32e-05/0.01109, allocations: 7.984 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.01109, allocations: 0 / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.01112, allocations: 4 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.01112, allocations: 7.938 kB / 279.2 MB, free: 11.08 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 5.788e-05/0.01118, allocations: 112.7 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/0.01126, allocations: 81.66 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.0113, allocations: 29.48 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.0113, allocations: 0 / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.0113, allocations: 4 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01131, allocations: 0 / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.01143, allocations: 109.7 kB / 279.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01144, allocations: 3.938 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.0115, allocations: 39.97 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.0115, allocations: 0 / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.01151, allocations: 4 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01151, allocations: 0 / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01151, allocations: 8 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.429e-05/0.01161, allocations: 237.5 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.01164, allocations: 23.89 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.01166, allocations: 4 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.01172, allocations: 11.98 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.01174, allocations: 4 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.01175, allocations: 0 / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.01178, allocations: 50 kB / 279.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01178, allocations: 0 / 279.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.01193, allocations: 19.94 kB / 279.9 MB, free: 10.29 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 7.76e-05/0.012, allocations: 88.38 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.695e-05/0.01208, allocations: 40.77 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01209, allocations: 4 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.0121, allocations: 8.859 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.01239, allocations: 88.45 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.01306, allocations: 356 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.854e-05/0.01311, allocations: 79.83 kB / 280.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.184e-05/0.01314, allocations: 17.14 kB / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.01323, allocations: 75.34 kB / 280.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01323, allocations: 0 / 280.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of Templates: time 0.003566/0.0168, allocations: 1.857 MB / 282.5 MB, free: 7.66 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 -s gbode -gbm=radauIIA3 -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.886638010852039]