Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001068/0.001068, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002606, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001039/0.001039, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002267, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9519/0.9519, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08226/1.034, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.656e-06/1.04e-05, allocations: 5.828 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002097/0.002107, allocations: 1.717 MB / 246.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.00581, allocations: 0.5724 MB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.005877, allocations: 3.938 kB / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.005913, allocations: 11.92 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.005979, allocations: 7.875 kB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.00617, allocations: 59.73 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.876e-05/0.006269, allocations: 59.73 kB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.006343, allocations: 23.91 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.006464, allocations: 51.84 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.006518, allocations: 15.97 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.006534, allocations: 4 kB / 247.5 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.006581, allocations: 4 kB / 247.5 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.006614, allocations: 19.92 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.006636, allocations: 15.94 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.006745, allocations: 47.72 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.006758, allocations: 0 / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006759, allocations: 0 / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.006773, allocations: 4 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000374/0.007147, allocations: 300.2 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.007175, allocations: 8.625 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.007308, allocations: 98.03 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.007469, allocations: 150.1 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.007478, allocations: 4.375 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.007486, allocations: 4.375 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.007658, allocations: 139.9 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.007666, allocations: 3.938 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.007674, allocations: 4 kB / 248.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.007679, allocations: 0 / 248.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.007703, allocations: 11.94 kB / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.007881, allocations: 166.8 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.007958, allocations: 90.34 kB / 248.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.007986, allocations: 31.5 kB / 248.6 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.008005, allocations: 4 kB / 248.6 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.008028, allocations: 42.48 kB / 248.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.008029, allocations: 0 / 248.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001269/0.008156, allocations: 61.56 kB / 248.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.008212, allocations: 141 kB / 248.9 MB, free: 9.566 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.008293, allocations: 146 kB / 249 MB, free: 9.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.008305, allocations: 33.7 kB / 249 MB, free: 9.375 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.008334, allocations: 84.14 kB / 249.1 MB, free: 9.289 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.008349, allocations: 7.938 kB / 249.1 MB, free: 9.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.008375, allocations: 17.7 kB / 249.1 MB, free: 9.258 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.003076/0.01145, allocations: 310.8 kB / 249.4 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.01146, allocations: 4 kB / 249.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.01148, allocations: 17.69 kB / 249.5 MB, free: 8.918 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.01151, allocations: 17.72 kB / 249.5 MB, free: 8.895 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.01151, allocations: 8 kB / 249.5 MB, free: 8.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.676e-05/0.01157, allocations: 45.62 kB / 249.5 MB, free: 8.836 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.01158, allocations: 4 kB / 249.5 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.01158, allocations: 0 / 249.5 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.01159, allocations: 4 kB / 249.5 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.01164, allocations: 8 kB / 249.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01165, allocations: 11.86 kB / 249.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.01167, allocations: 0 / 249.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.01167, allocations: 4 kB / 249.6 MB, free: 8.805 MB / 250.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.516e-05/0.01173, allocations: 112.7 kB / 249.7 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.01178, allocations: 45.62 kB / 249.7 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.01181, allocations: 15.95 kB / 249.7 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01181, allocations: 7.938 kB / 249.7 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01181, allocations: 0 / 249.7 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01181, allocations: 0 / 249.7 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.01194, allocations: 81.88 kB / 249.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01194, allocations: 0 / 249.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.01198, allocations: 15.98 kB / 249.8 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.01201, allocations: 23.78 kB / 249.9 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.01201, allocations: 4.062 kB / 249.9 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-06/0.01202, allocations: 0 / 249.9 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01202, allocations: 4 kB / 249.9 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01202, allocations: 0 / 249.9 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.815e-05/0.01212, allocations: 158 kB / 250 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.01213, allocations: 7.938 kB / 250 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.01218, allocations: 0 / 250 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.0122, allocations: 4 kB / 250 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.01221, allocations: 0 / 250 MB, free: 8.273 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.067e-05/0.01224, allocations: 36.81 kB / 250.1 MB, free: 8.234 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01224, allocations: 4.031 kB / 250.1 MB, free: 8.23 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.01241, allocations: 8 kB / 250.1 MB, free: 8.223 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.377e-05/0.01248, allocations: 72.42 kB / 250.2 MB, free: 8.141 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.075e-05/0.01254, allocations: 28.78 kB / 250.2 MB, free: 8.109 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01254, allocations: 0 / 250.2 MB, free: 8.109 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.01256, allocations: 12.84 kB / 250.2 MB, free: 8.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01279, allocations: 40.62 kB / 250.2 MB, free: 8.055 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.01357, allocations: 216.4 kB / 250.4 MB, free: 7.809 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.268e-05/0.01361, allocations: 67.28 kB / 250.5 MB, free: 7.723 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.443e-05/0.01363, allocations: 11.92 kB / 250.5 MB, free: 7.711 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.01369, allocations: 59.36 kB / 250.6 MB, free: 7.652 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01369, allocations: 0 / 250.6 MB, free: 7.652 MB / 250.7 MB Notification: Performance of Templates: time 0.005411/0.0191, allocations: 0.8099 MB / 251.4 MB, free: 6.855 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.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.3214576030150056]