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.0009905/0.0009905, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001194/0.001194, allocations: 157.1 kB / 24.99 MB, free: 8.801 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.9735/0.9735, allocations: 177 MB / 205.2 MB, free: 5.609 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.264e-06/2.264e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.648e-05/3.874e-05, allocations: 9.062 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004134/0.004172, allocations: 1.895 MB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.005957, allocations: 0.6777 MB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.006222, allocations: 7.938 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.006461, allocations: 19.73 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.006694, allocations: 27.78 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.007326, allocations: 111.6 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.007572, allocations: 147.5 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.007756, allocations: 53.88 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.00801, allocations: 79.8 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.049e-05/0.008101, allocations: 35.89 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.00813, allocations: 11.94 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.546e-05/0.008185, allocations: 15.94 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.008251, allocations: 27.92 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.008302, allocations: 35.84 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.008551, allocations: 99.58 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.008557, allocations: 4 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.008559, allocations: 0 / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.008565, allocations: 4 kB / 276.2 MB, free: 14.49 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.0006172/0.009182, allocations: 472 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.009227, allocations: 15.92 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.009429, allocations: 36.83 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.009743, allocations: 197 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.009768, allocations: 12.56 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.009784, allocations: 8.375 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.01016, allocations: 279.9 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.01017, allocations: 7.984 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.01019, allocations: 4 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.01019, allocations: 0 / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.91e-05/0.01025, allocations: 35.92 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.01064, allocations: 469.5 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.01089, allocations: 191.4 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/0.01097, allocations: 86.52 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.01099, allocations: 8 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.01102, allocations: 45.31 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.01103, allocations: 0 / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002629/0.01129, allocations: 153.8 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.01138, allocations: 192 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.01152, allocations: 238.4 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.01153, allocations: 25.7 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.0116, allocations: 158.8 kB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.01161, allocations: 15.83 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.01165, allocations: 27.36 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.01177, allocations: 0.4923 MB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.01179, allocations: 0 / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.01182, allocations: 52.95 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.01186, allocations: 27.47 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01186, allocations: 0 / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.1e-05/0.01193, allocations: 49.58 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.01195, allocations: 8 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01196, allocations: 0 / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01197, allocations: 0 / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.01203, allocations: 7.984 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.01204, allocations: 3.938 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.01207, allocations: 8.062 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.01208, allocations: 0 / 279.5 MB, free: 10.84 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 8.456e-05/0.01216, allocations: 160.6 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.0123, allocations: 121.3 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.01234, allocations: 25.45 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01234, allocations: 0 / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.01235, allocations: 4 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01235, allocations: 3.938 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.01253, allocations: 156.5 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01253, allocations: 0 / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.01261, allocations: 39.95 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01261, allocations: 0 / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.01262, allocations: 11.98 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01262, allocations: 4 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01262, allocations: 0 / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.01287, allocations: 418 kB / 280.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.01293, allocations: 39.86 kB / 280.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.01294, allocations: 4 kB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.01302, allocations: 12 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.01305, allocations: 0 / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.01306, allocations: 19.92 kB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.01313, allocations: 164.3 kB / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01313, allocations: 0 / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.01331, allocations: 19.94 kB / 280.7 MB, free: 9.578 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 9.997e-05/0.01341, allocations: 103.1 kB / 280.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.01355, allocations: 50.41 kB / 280.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01355, allocations: 0 / 280.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/0.01357, allocations: 19.88 kB / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.01397, allocations: 79.81 kB / 280.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008163/0.01479, allocations: 373.9 kB / 281.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.332e-05/0.01484, allocations: 75.83 kB / 281.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.792e-05/0.01488, allocations: 9.141 kB / 281.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.01491, allocations: 16.5 kB / 281.4 MB, free: 8.781 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01491, allocations: 0 / 281.4 MB, free: 8.781 MB / 266.7 MB Notification: Performance of Templates: time 0.003776/0.01869, allocations: 1.727 MB / 283.1 MB, free: 7.086 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.685773631092161]