Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4131, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004824/0.4179, allocations: 1.849 MB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.4198, allocations: 0.6507 MB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.42, allocations: 11.88 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.4203, allocations: 23.8 kB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.4205, allocations: 31.72 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.4211, allocations: 114.1 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.4214, allocations: 151.5 kB / 435.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.4217, allocations: 44.84 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.4219, allocations: 67.7 kB / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.4221, allocations: 51.72 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.4221, allocations: 8 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.4222, allocations: 16 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.4223, allocations: 35.84 kB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.4224, allocations: 47.67 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.4228, allocations: 151 kB / 435.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.4228, allocations: 4 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.4228, allocations: 0 / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4228, allocations: 0 / 435.6 MB, free: 3.461 MB / 334.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.00091/0.4237, allocations: 381.6 kB / 435.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.4238, allocations: 12.03 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.424, allocations: 20.84 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.4245, allocations: 198.2 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.4245, allocations: 12.12 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.4246, allocations: 12 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.4253, allocations: 290 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4253, allocations: 8 kB / 436.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.4253, allocations: 0 / 436.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4254, allocations: 4 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.4256, allocations: 71.88 kB / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.4261, allocations: 355.1 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.4266, allocations: 209 kB / 437.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.4268, allocations: 104.3 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.4268, allocations: 7.938 kB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.4269, allocations: 38.56 kB / 437.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.4269, allocations: 0 / 437.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005958/0.4275, allocations: 225.3 kB / 437.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.4276, allocations: 187.9 kB / 437.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.4278, allocations: 183.2 kB / 437.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.4279, allocations: 33.64 kB / 437.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.241e-05/0.428, allocations: 108 kB / 438 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.428, allocations: 15.94 kB / 438 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.4281, allocations: 29.72 kB / 438 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4283, allocations: 330.8 kB / 438.3 MB, free: 408 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.4283, allocations: 20.27 kB / 438.4 MB, free: 388 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.4285, allocations: 160.2 kB / 438.5 MB, free: 168 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.4288, allocations: 165.5 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4288, allocations: 0 / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002947/0.4291, allocations: 161.2 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.4291, allocations: 14.8 kB / 438.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4291, allocations: 4 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.4291, allocations: 7.938 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.4293, allocations: 36.11 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.4293, allocations: 4.5 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.4294, allocations: 15.95 kB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.4294, allocations: 11.94 kB / 438.9 MB, free: 15.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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 prepare postOptimizeDAE: time 0.0001702/0.4296, allocations: 141.7 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.4299, allocations: 145.7 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.43, allocations: 33.33 kB / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.43, allocations: 4 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.43, allocations: 4 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.43, allocations: 0 / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4302, allocations: 145.2 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4302, allocations: 8 kB / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.4304, allocations: 35.97 kB / 439.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4304, allocations: 0 / 439.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4304, allocations: 8 kB / 439.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4304, allocations: 3.938 kB / 439.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4304, allocations: 7.938 kB / 439.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.4309, allocations: 349.2 kB / 439.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.431, allocations: 31.89 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.431, allocations: 7.984 kB / 439.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4311, allocations: 15.94 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.4312, allocations: 3.984 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.4312, allocations: 7.938 kB / 439.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.4313, allocations: 132.4 kB / 440 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4313, allocations: 0 / 440 MB, free: 14.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.4316, allocations: 23.98 kB / 440 MB, free: 14.54 MB / 350.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.0001225/0.4318, allocations: 99.25 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.4321, allocations: 115.7 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4321, allocations: 0 / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.4321, allocations: 15.92 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.4328, allocations: 101.4 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4341, allocations: 451.2 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.4343, allocations: 114.8 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.438e-05/0.4344, allocations: 17.48 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.4344, allocations: 15.44 kB / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4344, allocations: 0 / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Templates: time 0.006104/0.4405, allocations: 2.035 MB / 443 MB, free: 11.57 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.280698503993335]