Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001385/0.001385, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001636/0.001636, allocations: 161 kB / 24.56 MB, free: 16 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.086/1.086, allocations: 177.1 MB / 205 MB, free: 5.633 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.482e-05/4.768e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003856/0.003904, allocations: 1.899 MB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.005303, allocations: 0.6816 MB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.00547, allocations: 11.88 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.005653, allocations: 19.78 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.005803, allocations: 27.73 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.00625, allocations: 107.7 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.006433, allocations: 143.5 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.006603, allocations: 49.89 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.006816, allocations: 87.73 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.006898, allocations: 39.83 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.006924, allocations: 12 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.006977, allocations: 15.98 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.007045, allocations: 27.86 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.007088, allocations: 39.84 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.007301, allocations: 95.59 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.007305, allocations: 4 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.007309, allocations: 0 / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.007318, allocations: 0 / 276.2 MB, free: 14.27 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.000595/0.007913, allocations: 483.9 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.007959, allocations: 8.031 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.00814, allocations: 28.84 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.008431, allocations: 197 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.008457, allocations: 12.5 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.008476, allocations: 12.38 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.008937, allocations: 287 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.008952, allocations: 7.938 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.008975, allocations: 4 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.008985, allocations: 4 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.242e-05/0.009048, allocations: 27.92 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.009533, allocations: 469.6 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.009799, allocations: 195.4 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/0.009895, allocations: 94.5 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.009925, allocations: 11.92 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.009959, allocations: 41.39 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 3.566e-06/0.009963, allocations: 0 / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003/0.01026, allocations: 150 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.01035, allocations: 207.9 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.01049, allocations: 234.6 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.0105, allocations: 25.7 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.01057, allocations: 151.2 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.01058, allocations: 11.94 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.01062, allocations: 27.33 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.01076, allocations: 0.4961 MB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.01078, allocations: 0 / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.01082, allocations: 68.44 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.01087, allocations: 43.03 kB / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01087, allocations: 0 / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.986e-05/0.01096, allocations: 57.58 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01098, allocations: 8 kB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01099, allocations: 0 / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.011, allocations: 0 / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.01107, allocations: 15.98 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01108, allocations: 0 / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.01111, allocations: 7.938 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.01112, allocations: 12.03 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.38e-05/0.01121, allocations: 164.5 kB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.01135, allocations: 113.5 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.0114, allocations: 25.45 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01141, allocations: 4 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.01141, allocations: 4 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01142, allocations: 0 / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.0116, allocations: 156.5 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.0116, allocations: 0 / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.01169, allocations: 47.94 kB / 280.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.01169, allocations: 4 kB / 280.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.0117, allocations: 0 / 280.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.0117, allocations: 4 kB / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01171, allocations: 0 / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.01198, allocations: 431.7 kB / 280.5 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.01204, allocations: 39.77 kB / 280.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.01206, allocations: 4 kB / 280.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.01214, allocations: 11.98 kB / 280.6 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.01218, allocations: 0 / 280.6 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.01219, allocations: 12 kB / 280.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.01228, allocations: 172.2 kB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01228, allocations: 0 / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.01247, allocations: 16 kB / 280.8 MB, free: 9.277 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001261/0.0126, allocations: 95.58 kB / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.01274, allocations: 51.61 kB / 280.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01275, allocations: 0 / 280.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.01277, allocations: 19.61 kB / 280.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.01326, allocations: 99.98 kB / 281 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.01398, allocations: 306.2 kB / 281.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.181e-05/0.01405, allocations: 75.83 kB / 281.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.01409, allocations: 17.14 kB / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.01414, allocations: 16.5 kB / 281.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of SimCode: time 1.423e-06/0.01414, allocations: 4 kB / 281.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of Templates: time 0.0043/0.01844, allocations: 1.788 MB / 283.2 MB, free: 6.766 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.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: 3.2142505329102278]