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.000902/0.000902, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009525/0.0009525, allocations: 174.3 kB / 24.91 MB, free: 8.766 MB / 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 0.9129/0.9129, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.293e-06/1.293e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.506e-06/9.799e-06, allocations: 6.312 kB / 273.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00188/0.00189, allocations: 1.891 MB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000776/0.002666, allocations: 0.697 MB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.587e-05/0.002762, allocations: 7.938 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.002876, allocations: 19.73 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.002977, allocations: 23.8 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.003231, allocations: 119.6 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.003367, allocations: 143.5 kB / 276.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.003466, allocations: 50.53 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.003586, allocations: 79.81 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.003644, allocations: 35.83 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.003662, allocations: 8 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.122e-05/0.003703, allocations: 16 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.003745, allocations: 27.91 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.003775, allocations: 35.86 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.00391, allocations: 111.4 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003911, allocations: 4 kB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003912, allocations: 0 / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.003914, allocations: 0 / 276.7 MB, free: 14.03 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.000319/0.004233, allocations: 348.3 kB / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.575e-05/0.004259, allocations: 8.031 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.004356, allocations: 32.91 kB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.004523, allocations: 186.2 kB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.004538, allocations: 8.562 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.00455, allocations: 8.375 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.004772, allocations: 251.2 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.004779, allocations: 0 / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.004786, allocations: 4 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.004791, allocations: 4 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.303e-05/0.004824, allocations: 23.92 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.005025, allocations: 282.8 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.005166, allocations: 148.8 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.005219, allocations: 68.38 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.005233, allocations: 4 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.005253, allocations: 42.5 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.005254, allocations: 4 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001507/0.005405, allocations: 113.5 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.005468, allocations: 199.8 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.005545, allocations: 167.4 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.005556, allocations: 29.7 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.005588, allocations: 96.11 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.005598, allocations: 3.953 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.005623, allocations: 21.69 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.00569, allocations: 327.1 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.005696, allocations: 4 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.005722, allocations: 44.28 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/0.005745, allocations: 25.64 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005747, allocations: 0 / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.02e-05/0.005787, allocations: 41.69 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.005798, allocations: 8 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.005801, allocations: 3.938 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.00581, allocations: 0 / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.273e-05/0.005843, allocations: 8.156 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.005846, allocations: 3.984 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.00587, allocations: 4 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.005876, allocations: 7.922 kB / 279.2 MB, free: 11.26 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.15e-05/0.005928, allocations: 112.7 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.006003, allocations: 85.91 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.006029, allocations: 21.47 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006031, allocations: 4 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.006034, allocations: 4 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.006038, allocations: 8.016 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.006163, allocations: 101.7 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006165, allocations: 4 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.006223, allocations: 35.92 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.006226, allocations: 4 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.006231, allocations: 0 / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.006233, allocations: 4 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006233, allocations: 0 / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.00655, allocations: 241.3 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.006585, allocations: 19.91 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.006599, allocations: 12.02 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.006661, allocations: 11.94 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.006679, allocations: 0 / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.006686, allocations: 12 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.251e-05/0.006719, allocations: 53.83 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006719, allocations: 0 / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.006864, allocations: 19.94 kB / 279.9 MB, free: 10.46 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 5.798e-05/0.006922, allocations: 80.36 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.392e-05/0.006985, allocations: 48.78 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.006987, allocations: 0 / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.006999, allocations: 8.859 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.007263, allocations: 84.12 kB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.007807, allocations: 356 kB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.007851, allocations: 79.81 kB / 280.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.481e-05/0.007875, allocations: 9.141 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.007956, allocations: 79.34 kB / 280.7 MB, free: 9.648 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.007956, allocations: 0 / 280.7 MB, free: 9.648 MB / 266.7 MB Notification: Performance of Templates: time 0.002889/0.01085, allocations: 1.867 MB / 282.5 MB, free: 7.828 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] 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","",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.4527626209892333]