Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.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.001121/0.001121, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.002727, 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.001048/0.001048, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002463, 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.009/1.009, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.111, allocations: 53.87 MB / 243.8 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.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.31e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.002727/0.00275, allocations: 1.72 MB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.003093, allocations: 195.2 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.003174, allocations: 7.938 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.754e-05/0.003242, allocations: 11.86 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006096/0.009338, allocations: 23.84 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.009609, allocations: 43.83 kB / 247 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.009739, allocations: 67.78 kB / 247.1 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.009855, allocations: 27.91 kB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.009934, allocations: 43.91 kB / 247.1 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.01003, allocations: 27.89 kB / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.01006, allocations: 8 kB / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.01007, allocations: 4 kB / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.01013, allocations: 27.86 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.01017, allocations: 15.94 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.01035, allocations: 67.7 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.01036, allocations: 0 / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01036, allocations: 0 / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.01038, allocations: 0 / 247.3 MB, free: 11.36 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004495/0.01083, allocations: 320.1 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.01087, allocations: 8.031 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.01091, allocations: 12.92 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.0111, allocations: 157.3 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.01111, allocations: 8.375 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.01112, allocations: 8.375 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.01138, allocations: 168.7 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.01139, allocations: 4.125 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.0114, allocations: 4.375 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.01141, allocations: 384 / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.01144, allocations: 18.77 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.0117, allocations: 264 kB / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.01181, allocations: 90.66 kB / 248.3 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.01186, allocations: 38.69 kB / 248.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.01188, allocations: 4 kB / 248.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.0119, allocations: 42.5 kB / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.01191, allocations: 0 / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.000209/0.01211, allocations: 81.53 kB / 248.5 MB, free: 10 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001077/0.01319, allocations: 118.8 kB / 248.6 MB, free: 9.863 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.0133, allocations: 152.2 kB / 248.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.01332, allocations: 29.95 kB / 248.8 MB, free: 9.668 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.01336, allocations: 88.41 kB / 248.9 MB, free: 9.574 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.01337, allocations: 7.984 kB / 248.9 MB, free: 9.566 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.01341, allocations: 25.66 kB / 248.9 MB, free: 9.535 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.0135, allocations: 326.8 kB / 249.2 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.01351, allocations: 3.938 kB / 249.2 MB, free: 9.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.01353, allocations: 13.72 kB / 249.2 MB, free: 9.184 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.01355, allocations: 17.66 kB / 249.3 MB, free: 9.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01356, allocations: 4 kB / 249.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.374e-05/0.01361, allocations: 41.75 kB / 249.3 MB, free: 9.109 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01362, allocations: 8 kB / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01363, allocations: 3.984 kB / 249.3 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.01364, allocations: 3.938 kB / 249.3 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.01371, allocations: 11.92 kB / 249.3 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-06/0.01371, allocations: 0 / 249.3 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.01374, allocations: 4 kB / 249.3 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.01374, allocations: 0 / 249.3 MB, free: 9.078 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: 2 (sample1.u,hold1.y) * 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 7.022e-05/0.01381, allocations: 120.7 kB / 249.4 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.0139, allocations: 66.05 kB / 249.5 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.01393, allocations: 16.78 kB / 249.5 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.01394, allocations: 3.938 kB / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01394, allocations: 0 / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.01394, allocations: 4 kB / 249.5 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.01412, allocations: 89.84 kB / 249.6 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01412, allocations: 0 / 249.6 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.323e-05/0.01421, allocations: 23.98 kB / 249.6 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.01425, allocations: 19.84 kB / 249.7 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01425, allocations: 0 / 249.7 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.01426, allocations: 8 kB / 249.7 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01426, allocations: 4 kB / 249.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.01427, allocations: 7.922 kB / 249.7 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.01438, allocations: 222.5 kB / 249.9 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.01439, allocations: 4 kB / 249.9 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.0145, allocations: 4 kB / 249.9 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.01453, allocations: 7.938 kB / 249.9 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01453, allocations: 0 / 249.9 MB, free: 8.434 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.681e-05/0.01457, allocations: 38.23 kB / 250 MB, free: 8.395 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01457, allocations: 0 / 250 MB, free: 8.395 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.01478, allocations: 8.031 kB / 250 MB, free: 8.387 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (sample1.u,hold1.y,sample1.y,hold1.u,sample2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001132/0.01489, allocations: 96.3 kB / 250.1 MB, free: 8.285 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.667e-05/0.01497, allocations: 24.84 kB / 250.1 MB, free: 8.258 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.01497, allocations: 0 / 250.1 MB, free: 8.258 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.01499, allocations: 12.8 kB / 250.1 MB, free: 8.242 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.01532, allocations: 48.92 kB / 250.1 MB, free: 8.199 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.01583, allocations: 235.7 kB / 250.4 MB, free: 7.938 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.596e-05/0.01588, allocations: 71.2 kB / 250.4 MB, free: 7.848 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.457e-05/0.01591, allocations: 7.984 kB / 250.5 MB, free: 7.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.01597, allocations: 63.38 kB / 250.5 MB, free: 7.777 MB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01597, allocations: 0 / 250.5 MB, free: 7.777 MB / 250.7 MB Notification: Performance of Templates: time 0.002967/0.01894, allocations: 0.9869 MB / 251.5 MB, free: 6.812 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample2/Sample2.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.5183387426659465]