Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000831/0.000831, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001929, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007187/0.0007187, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008626/0.001581, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9665/0.9665, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09954/1.066, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.308e-05, allocations: 6.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.00233/0.002343, allocations: 1.72 MB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.002661, allocations: 195.1 kB / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.002733, allocations: 7.938 kB / 246.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.892e-05/0.002792, allocations: 11.86 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.082e-05/0.002863, allocations: 15.92 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.003035, allocations: 47.77 kB / 246.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.003152, allocations: 67.77 kB / 246.6 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.003246, allocations: 19.98 kB / 246.6 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.00332, allocations: 59.83 kB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.003399, allocations: 23.91 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.003424, allocations: 8 kB / 246.7 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.003437, allocations: 4 kB / 246.7 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003063/0.0065, allocations: 31.91 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.006539, allocations: 15.94 kB / 246.7 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.006664, allocations: 59.7 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.006678, allocations: 0 / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006679, allocations: 0 / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.006692, allocations: 0 / 246.8 MB, free: 12.04 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.0004193/0.007111, allocations: 328 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.007141, allocations: 12.03 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.007176, allocations: 12.94 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.007351, allocations: 153.4 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.007361, allocations: 4.375 kB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.007374, allocations: 8.375 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.007621, allocations: 168.1 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.007629, allocations: 8.125 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.007639, allocations: 8.375 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.007645, allocations: 384 / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.007682, allocations: 22.75 kB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.00792, allocations: 252 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.00802, allocations: 94.64 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.008063, allocations: 42.62 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.008083, allocations: 4 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.008107, allocations: 46.48 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.008108, allocations: 0 / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001707/0.008279, allocations: 85.48 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.008333, allocations: 110.8 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.008429, allocations: 153 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.008441, allocations: 29.7 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.008481, allocations: 92.39 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.00849, allocations: 4 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.008521, allocations: 21.66 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.008607, allocations: 327.1 kB / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-06/0.008613, allocations: 4 kB / 248.7 MB, free: 9.879 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.00863, allocations: 17.72 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.468e-05/0.008654, allocations: 21.64 kB / 248.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008656, allocations: 0 / 248.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.743e-05/0.008703, allocations: 37.7 kB / 248.8 MB, free: 9.785 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.008715, allocations: 8 kB / 248.8 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.008719, allocations: 3.938 kB / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.008729, allocations: 8.062 kB / 248.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.583e-05/0.008775, allocations: 7.984 kB / 248.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.008778, allocations: 0 / 248.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.008797, allocations: 4 kB / 248.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.008802, allocations: 0 / 248.8 MB, free: 9.754 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 6.084e-05/0.008863, allocations: 112.7 kB / 249 MB, free: 9.633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.008944, allocations: 65.61 kB / 249 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.008977, allocations: 16.78 kB / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.00898, allocations: 3.938 kB / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.008983, allocations: 3.984 kB / 249 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.008987, allocations: 8 kB / 249.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.009139, allocations: 77.88 kB / 249.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00914, allocations: 3.938 kB / 249.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.009207, allocations: 23.98 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003115/0.01232, allocations: 23.84 kB / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01233, allocations: 3.984 kB / 249.2 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.01233, allocations: 4 kB / 249.2 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01233, allocations: 0 / 249.2 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01234, allocations: 3.938 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.01244, allocations: 230.4 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.01245, allocations: 8.031 kB / 249.4 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.01253, allocations: 0 / 249.4 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.01255, allocations: 11.94 kB / 249.4 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.01256, allocations: 0 / 249.4 MB, free: 9.105 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.105e-05/0.01259, allocations: 35.86 kB / 249.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01259, allocations: 0 / 249.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.0128, allocations: 12 kB / 249.5 MB, free: 9.059 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 8.349e-05/0.01288, allocations: 84.36 kB / 249.6 MB, free: 8.969 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.903e-05/0.01295, allocations: 32.84 kB / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01295, allocations: 0 / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.508e-05/0.01297, allocations: 12.8 kB / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.01328, allocations: 54 kB / 249.7 MB, free: 8.871 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.01372, allocations: 231.5 kB / 249.9 MB, free: 8.613 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.01377, allocations: 75.19 kB / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.01378, allocations: 0 / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.01384, allocations: 59.62 kB / 250 MB, free: 8.461 MB / 250.7 MB Notification: Performance of SimCode: time 2.91e-07/0.01384, allocations: 4 kB / 250 MB, free: 8.457 MB / 250.7 MB Notification: Performance of Templates: time 0.005681/0.01952, allocations: 0.9981 MB / 251 MB, free: 7.477 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5932674165815115]