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.0009958/0.0009958, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001255/0.001255, allocations: 166.4 kB / 24.82 MB, free: 9.27 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.9844/0.9844, allocations: 177.1 MB / 205.3 MB, free: 5.477 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 2.274e-06/2.274e-06, allocations: 3.938 kB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.032e-05/4.259e-05, allocations: 6.312 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003927/0.00397, allocations: 1.871 MB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.005086, allocations: 0.6777 MB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.005208, allocations: 7.938 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.005338, allocations: 23.73 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.005443, allocations: 27.78 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.005786, allocations: 115.6 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.005939, allocations: 139.6 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.006061, allocations: 49.88 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.006229, allocations: 79.8 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.006295, allocations: 43.83 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.006318, allocations: 12 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.006359, allocations: 12 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.006399, allocations: 27.92 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.006426, allocations: 35.84 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.006592, allocations: 107.5 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.006595, allocations: 0 / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006596, allocations: 0 / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.0066, allocations: 0 / 276.6 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.000508/0.007108, allocations: 479.9 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.007151, allocations: 12.03 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.007286, allocations: 36.83 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.00748, allocations: 193 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.007497, allocations: 8.562 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.00751, allocations: 12.38 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.007783, allocations: 270.4 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.00779, allocations: 0 / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.007799, allocations: 0 / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.007805, allocations: 4 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.043e-05/0.007845, allocations: 31.91 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.00816, allocations: 434.1 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.008343, allocations: 195.4 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.008404, allocations: 82.52 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.008426, allocations: 8 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003241/0.00875, allocations: 53.25 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.008752, allocations: 0 / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002049/0.008957, allocations: 133.7 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.009024, allocations: 192.3 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.009131, allocations: 234.5 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.009144, allocations: 25.7 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.009199, allocations: 162.8 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.009211, allocations: 3.953 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.009241, allocations: 27.36 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.009347, allocations: 0.4922 MB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.009356, allocations: 3.984 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.009388, allocations: 56.7 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.009415, allocations: 23.47 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009417, allocations: 0 / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.559e-05/0.009472, allocations: 49.58 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.009483, allocations: 8 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.009487, allocations: 0 / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.597e-06/0.009496, allocations: 192 / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.135e-05/0.009537, allocations: 4 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.00954, allocations: 0 / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.009571, allocations: 15.92 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.009575, allocations: 0 / 279.8 MB, free: 10.46 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 7.171e-05/0.009646, allocations: 164.6 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.009749, allocations: 117.4 kB / 280.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.009781, allocations: 21.47 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.009785, allocations: 0 / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.009787, allocations: 4 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009791, allocations: 3.984 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.00994, allocations: 129.1 kB / 280.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.009943, allocations: 4 kB / 280.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.601e-05/0.01001, allocations: 35.92 kB / 280.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.01002, allocations: 8.031 kB / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.01003, allocations: 0 / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.01003, allocations: 4 kB / 280.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01003, allocations: 3.984 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.01019, allocations: 354 kB / 280.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.01025, allocations: 39.81 kB / 280.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.01026, allocations: 4 kB / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.01033, allocations: 8 kB / 280.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.01035, allocations: 4 kB / 280.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.01036, allocations: 3.984 kB / 280.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.534e-05/0.01044, allocations: 168.2 kB / 280.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01044, allocations: 0 / 280.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.01062, allocations: 12 kB / 280.9 MB, free: 9.32 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.0001125/0.01074, allocations: 107.2 kB / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.01084, allocations: 47.53 kB / 281 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01084, allocations: 0 / 281 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.01086, allocations: 15.62 kB / 281.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.01126, allocations: 83.16 kB / 281.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.01193, allocations: 361.8 kB / 281.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.747e-05/0.01198, allocations: 79.83 kB / 281.6 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.889e-05/0.01202, allocations: 13.14 kB / 281.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.01212, allocations: 102.2 kB / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01212, allocations: 0 / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of Templates: time 0.003548/0.01567, allocations: 1.885 MB / 283.6 MB, free: 6.602 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.6537373969331384]