Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001194/0.001194, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001833/0.003027, 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.001199/0.001199, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002819, 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 1.05/1.05, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.152, allocations: 53.86 MB / 243.7 MB, free: 14.92 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.149e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002446/0.002468, allocations: 1.615 MB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.002712, allocations: 144.1 kB / 246.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.002782, allocations: 4 kB / 246.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.002818, allocations: 7.938 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.002878, allocations: 3.938 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.003021, allocations: 35.89 kB / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.003103, allocations: 31.86 kB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.941e-05/0.003172, allocations: 12 kB / 246.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.779e-05/0.00323, allocations: 19.92 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.003271, allocations: 11.97 kB / 246.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.003291, allocations: 4 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-06/0.0033, allocations: 0 / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.003332, allocations: 15.94 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.003351, allocations: 11.94 kB / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.858e-05/0.003429, allocations: 23.86 kB / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.003441, allocations: 0 / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003442, allocations: 0 / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.003453, allocations: 0 / 246.9 MB, free: 11.72 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003061/0.003759, allocations: 272.3 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.003786, allocations: 8.625 kB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.00381, allocations: 4.938 kB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.003942, allocations: 133.7 kB / 247.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.00395, allocations: 8.375 kB / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-06/0.003956, allocations: 384 / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.004093, allocations: 94.3 kB / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.0041, allocations: 4.188 kB / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.004105, allocations: 384 / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.00411, allocations: 384 / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.004127, allocations: 11.92 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.0043, allocations: 157 kB / 247.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.141e-05/0.004341, allocations: 41.16 kB / 247.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.004357, allocations: 17.83 kB / 247.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.004373, allocations: 0 / 247.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.004396, allocations: 46.44 kB / 247.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.004397, allocations: 0 / 247.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001018/0.004499, allocations: 41.62 kB / 247.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.004543, allocations: 81.05 kB / 247.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.004618, allocations: 133.8 kB / 248 MB, free: 10.53 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.004626, allocations: 25.7 kB / 248 MB, free: 10.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.004657, allocations: 84.39 kB / 248.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.004665, allocations: 4 kB / 248.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.004692, allocations: 21.66 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.00477, allocations: 314.8 kB / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-06/0.004776, allocations: 0 / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.004781, allocations: 0 / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.72e-05/0.004799, allocations: 12.84 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.0048, allocations: 0 / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.693e-05/0.004837, allocations: 33.64 kB / 248.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.004849, allocations: 8.094 kB / 248.5 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.004854, allocations: 8 kB / 248.5 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.004862, allocations: 0 / 248.5 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.00491, allocations: 11.92 kB / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.004913, allocations: 0 / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.004924, allocations: 0 / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-06/0.004927, allocations: 0 / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.535e-05/0.004983, allocations: 112.7 kB / 248.6 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.005011, allocations: 29.7 kB / 248.6 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.005035, allocations: 15.73 kB / 248.6 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005037, allocations: 8.031 kB / 248.6 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.005039, allocations: 3.938 kB / 248.6 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.005041, allocations: 0 / 248.6 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.191e-05/0.005123, allocations: 73.88 kB / 248.7 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.005125, allocations: 0 / 248.7 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.005146, allocations: 4 kB / 248.7 MB, free: 9.707 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.005164, allocations: 4 kB / 248.7 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.005167, allocations: 4 kB / 248.7 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.005171, allocations: 7.922 kB / 248.7 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.005171, allocations: 0 / 248.7 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005173, allocations: 3.938 kB / 248.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.169e-05/0.005235, allocations: 136.4 kB / 248.9 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.005245, allocations: 7.984 kB / 248.9 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/0.005271, allocations: 0 / 248.9 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.005289, allocations: 3.938 kB / 248.9 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.005292, allocations: 4 kB / 248.9 MB, free: 9.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.852e-05/0.005311, allocations: 24.77 kB / 248.9 MB, free: 9.492 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005311, allocations: 0 / 248.9 MB, free: 9.492 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001067/0.005418, allocations: 4 kB / 248.9 MB, free: 9.488 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 6.011e-05/0.005478, allocations: 84.45 kB / 249 MB, free: 9.395 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.396e-05/0.005522, allocations: 8.859 kB / 249 MB, free: 9.383 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.005524, allocations: 0 / 249 MB, free: 9.383 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.766e-06/0.005533, allocations: 12.84 kB / 249 MB, free: 9.367 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.005697, allocations: 23.5 kB / 249 MB, free: 9.344 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.006029, allocations: 147.7 kB / 249.2 MB, free: 9.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.571e-05/0.006075, allocations: 59.34 kB / 249.2 MB, free: 9.094 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.472e-05/0.00609, allocations: 4.203 kB / 249.2 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.006133, allocations: 59.38 kB / 249.3 MB, free: 9.031 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006133, allocations: 0 / 249.3 MB, free: 9.031 MB / 250.7 MB Notification: Performance of Templates: time 0.001854/0.007988, allocations: 0.4919 MB / 249.8 MB, free: 8.551 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.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.5593326753005385]