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.001337/0.001337, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001591/0.001591, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9386/0.9386, allocations: 177 MB / 204.8 MB, free: 5.598 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 1.113e-06/1.113e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.838e-05, allocations: 9.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002074/0.002093, allocations: 1.891 MB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008629/0.002956, allocations: 0.6894 MB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.00306, allocations: 7.938 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.003185, allocations: 19.8 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.003297, allocations: 27.73 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.003857, allocations: 115.6 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.004012, allocations: 147.5 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.004131, allocations: 49.88 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.004268, allocations: 79.8 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.00433, allocations: 35.91 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.00435, allocations: 15.94 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.795e-05/0.004388, allocations: 12 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.004431, allocations: 27.91 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.004469, allocations: 43.78 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.004621, allocations: 103.6 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004623, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004624, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.004628, allocations: 0 / 276.2 MB, free: 14.18 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.0004309/0.005059, allocations: 472 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.005093, allocations: 15.98 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.005211, allocations: 36.77 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.005411, allocations: 197 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.00543, allocations: 8.562 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.005445, allocations: 12.38 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.005772, allocations: 280.2 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.00578, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.005791, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.005799, allocations: 7.984 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.005852, allocations: 27.92 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.006182, allocations: 469.5 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.006384, allocations: 191.4 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.006464, allocations: 90.58 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.006485, allocations: 8 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.006512, allocations: 45.31 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.006513, allocations: 0 / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002436/0.006757, allocations: 153.3 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.006832, allocations: 187.9 kB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.006952, allocations: 238.8 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006966, allocations: 37.7 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.007024, allocations: 154.8 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.007037, allocations: 7.891 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.007067, allocations: 27.36 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.007169, allocations: 0.4961 MB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.007181, allocations: 0 / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.007211, allocations: 52.77 kB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.007242, allocations: 27.38 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007244, allocations: 4.094 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.241e-05/0.007297, allocations: 49.58 kB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.007308, allocations: 4 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.007311, allocations: 0 / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.007324, allocations: 4 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.007365, allocations: 4 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.007373, allocations: 7.922 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.007399, allocations: 0 / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.007404, allocations: 4 kB / 279.4 MB, free: 10.54 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 6.617e-05/0.00747, allocations: 160.6 kB / 279.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.007583, allocations: 125.6 kB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.007617, allocations: 21.45 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.00762, allocations: 4 kB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.007623, allocations: 0 / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.00763, allocations: 7.938 kB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.007778, allocations: 160.5 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007779, allocations: 0 / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.007844, allocations: 31.92 kB / 279.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.007848, allocations: 8 kB / 279.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.007857, allocations: 8.031 kB / 279.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.007859, allocations: 7.984 kB / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00786, allocations: 0 / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.008049, allocations: 425.8 kB / 280.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.008088, allocations: 23.89 kB / 280.4 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.008106, allocations: 11.98 kB / 280.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-05/0.008169, allocations: 4 kB / 280.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.008195, allocations: 4 kB / 280.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.008202, allocations: 11.94 kB / 280.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.493e-05/0.008267, allocations: 164.3 kB / 280.6 MB, free: 9.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008267, allocations: 4 kB / 280.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.008438, allocations: 19.94 kB / 280.6 MB, free: 9.273 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 6.648e-05/0.008504, allocations: 103.1 kB / 280.7 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.008617, allocations: 47.59 kB / 280.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008618, allocations: 0 / 280.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.008633, allocations: 15.69 kB / 280.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.008982, allocations: 80.67 kB / 280.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.009665, allocations: 373.8 kB / 281.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.017e-05/0.009715, allocations: 75.83 kB / 281.3 MB, free: 8.508 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.07e-05/0.009746, allocations: 13.16 kB / 281.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.009781, allocations: 20.48 kB / 281.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.009782, allocations: 0 / 281.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of Templates: time 0.003561/0.01334, allocations: 1.848 MB / 283.2 MB, free: 6.66 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.5955387074500322]