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.001814/0.001814, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001919/0.001919, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 1.393e-06/1.393e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.039e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00359/0.00362, allocations: 1.852 MB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.005171, allocations: 0.6544 MB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.00533, allocations: 7.938 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.00548, allocations: 23.73 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.005634, allocations: 31.73 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.006082, allocations: 107.7 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.006324, allocations: 147.5 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.006476, allocations: 45.89 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.006686, allocations: 83.73 kB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.006778, allocations: 35.89 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.006809, allocations: 12 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.155e-05/0.00686, allocations: 12 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.006936, allocations: 31.84 kB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.006995, allocations: 39.86 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.007274, allocations: 147.5 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.007276, allocations: 0 / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007277, allocations: 0 / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.007282, allocations: 0 / 275.5 MB, free: 14.59 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.0006897/0.007972, allocations: 385.6 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.008008, allocations: 8.031 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.008197, allocations: 36.83 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.008578, allocations: 198.1 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.008601, allocations: 12.5 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.00862, allocations: 8.375 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/0.009301, allocations: 308.4 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.009311, allocations: 0 / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.009326, allocations: 0 / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.009335, allocations: 4 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.009567, allocations: 75.83 kB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.01012, allocations: 343.2 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.01066, allocations: 217 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.01089, allocations: 100.3 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.01093, allocations: 11.98 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.01096, allocations: 34.56 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.01097, allocations: 0 / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006355/0.0116, allocations: 229.4 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/0.01177, allocations: 200.2 kB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.01199, allocations: 183.1 kB / 277.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.01202, allocations: 29.7 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.01212, allocations: 112 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.01213, allocations: 0 / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.01218, allocations: 21.67 kB / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.01237, allocations: 322.8 kB / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.01242, allocations: 12.27 kB / 278.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.0125, allocations: 56.27 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.01259, allocations: 29.66 kB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01259, allocations: 7.938 kB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001637/0.01275, allocations: 61.62 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01277, allocations: 4 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.01278, allocations: 8.141 kB / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.01279, allocations: 0 / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.01285, allocations: 4 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.01287, allocations: 15.86 kB / 278.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.01292, allocations: 0 / 278.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.01294, allocations: 4 kB / 278.5 MB, free: 11.3 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 0.0001305/0.01307, allocations: 121.8 kB / 278.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/0.01339, allocations: 149.4 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.01344, allocations: 29.5 kB / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01344, allocations: 0 / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.01346, allocations: 7.984 kB / 278.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.01346, allocations: 3.938 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.01374, allocations: 149.2 kB / 279 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.01374, allocations: 0 / 279 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.01388, allocations: 35.92 kB / 279 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.01388, allocations: 4 kB / 279 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/0.01416, allocations: 7.984 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01417, allocations: 4 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01417, allocations: 0 / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.01467, allocations: 365 kB / 279.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.01475, allocations: 35.84 kB / 279.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.01477, allocations: 4 kB / 279.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.01492, allocations: 11.98 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.01496, allocations: 4 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.01497, allocations: 7.938 kB / 279.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.01512, allocations: 140.3 kB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01512, allocations: 4 kB / 279.6 MB, free: 10.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.0154, allocations: 16 kB / 279.6 MB, free: 10.16 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 0.0001486/0.01555, allocations: 103.2 kB / 279.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.01579, allocations: 67.89 kB / 279.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01579, allocations: 0 / 279.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.01584, allocations: 11.98 kB / 279.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.01649, allocations: 111.9 kB / 279.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.01789, allocations: 435.6 kB / 280.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.01804, allocations: 114.8 kB / 280.4 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.247e-05/0.01809, allocations: 13.52 kB / 280.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.01814, allocations: 16.5 kB / 280.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01814, allocations: 0 / 280.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of Templates: time 0.00538/0.02352, allocations: 1.733 MB / 282.2 MB, free: 7.527 MB / 266.7 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 -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/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_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: 4.405150623060763]