Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001083/0.001083, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.002632, allocations: 457.8 kB / 10.45 MB, free: 244 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.001048/0.001048, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002451, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.8958/0.8958, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08257/0.9784, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.881e-05, allocations: 5.406 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002199/0.002218, allocations: 1.595 MB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002218/0.00244, allocations: 148.1 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.005502, allocations: 3.938 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.005536, allocations: 0 / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.005596, allocations: 15.91 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.005737, allocations: 27.86 kB / 247 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.351e-05/0.00582, allocations: 35.91 kB / 247 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.802e-05/0.005889, allocations: 7.938 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.005947, allocations: 19.92 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.924e-05/0.005976, allocations: 7.984 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.005997, allocations: 4 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.006006, allocations: 0 / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.00604, allocations: 11.94 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.006056, allocations: 7.938 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.09e-05/0.006137, allocations: 31.84 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.006147, allocations: 0 / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006147, allocations: 0 / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.006156, allocations: 4 kB / 247.1 MB, free: 11.61 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.0003169/0.006472, allocations: 272.3 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.006501, allocations: 8.625 kB / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.006531, allocations: 8.922 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.006672, allocations: 117.8 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.006688, allocations: 384 / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.006701, allocations: 12.36 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.006844, allocations: 102.3 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.006851, allocations: 192 / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-06/0.006856, allocations: 384 / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.006863, allocations: 4.375 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.404e-05/0.006877, allocations: 7.875 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.00703, allocations: 157.2 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.911e-05/0.00707, allocations: 37.16 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.007084, allocations: 13.72 kB / 247.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.007096, allocations: 0 / 247.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.007132, allocations: 38.62 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.007133, allocations: 4 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.927e-05/0.007232, allocations: 41.62 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.00727, allocations: 85.05 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.007345, allocations: 138.5 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.007355, allocations: 29.64 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.007389, allocations: 84.12 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.675e-06/0.007397, allocations: 0 / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.007456, allocations: 13.72 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.007536, allocations: 319.1 kB / 248.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-06/0.007544, allocations: 4 kB / 248.6 MB, free: 9.961 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.007549, allocations: 3.938 kB / 248.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.007569, allocations: 12.84 kB / 248.6 MB, free: 9.941 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007572, allocations: 0 / 248.6 MB, free: 9.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.29e-05/0.007615, allocations: 29.7 kB / 248.6 MB, free: 9.906 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.007628, allocations: 8 kB / 248.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.007633, allocations: 3.984 kB / 248.6 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.007643, allocations: 0 / 248.6 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.28e-05/0.007656, allocations: 3.938 kB / 248.6 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.007659, allocations: 4.094 kB / 248.6 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.007681, allocations: 0 / 248.6 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.007684, allocations: 0 / 248.6 MB, free: 9.887 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 (sample1.u) * 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.98e-05/0.007744, allocations: 120.6 kB / 248.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.007782, allocations: 33.69 kB / 248.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.007807, allocations: 7.469 kB / 248.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007809, allocations: 0 / 248.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.007811, allocations: 3.938 kB / 248.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.007814, allocations: 0 / 248.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.007924, allocations: 69.89 kB / 248.9 MB, free: 9.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007925, allocations: 4.031 kB / 248.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.00793, allocations: 0 / 248.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.007959, allocations: 19.94 kB / 248.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00796, allocations: 0 / 248.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-06/0.007964, allocations: 0 / 248.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.007966, allocations: 0 / 248.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.007971, allocations: 11.92 kB / 248.9 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.769e-05/0.008038, allocations: 132.4 kB / 249 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.008047, allocations: 0 / 249 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.008101, allocations: 3.984 kB / 249 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.008122, allocations: 8.031 kB / 249.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.008126, allocations: 0 / 249.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.783e-05/0.008154, allocations: 35.67 kB / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008154, allocations: 0 / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003176/0.01133, allocations: 0 / 249.1 MB, free: 9.395 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 (sample1.u,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 0.0001346/0.01146, allocations: 76.42 kB / 249.2 MB, free: 9.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.666e-05/0.01152, allocations: 16.78 kB / 249.2 MB, free: 9.289 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.01153, allocations: 4 kB / 249.2 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.01154, allocations: 8.953 kB / 249.2 MB, free: 9.273 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.01176, allocations: 87.61 kB / 249.3 MB, free: 9.172 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.01212, allocations: 143.7 kB / 249.4 MB, free: 9.004 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.01215, allocations: 59.34 kB / 249.5 MB, free: 8.926 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.497e-05/0.01217, allocations: 4 kB / 249.5 MB, free: 8.922 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.01222, allocations: 51.38 kB / 249.5 MB, free: 8.871 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01222, allocations: 0 / 249.5 MB, free: 8.871 MB / 250.7 MB Notification: Performance of Templates: time 0.005073/0.01729, allocations: 0.5128 MB / 250 MB, free: 8.375 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3278056550771]