Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001042/0.001042, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001171/0.001171, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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.9862/0.9862, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.307e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001946/0.001969, allocations: 1.552 MB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.002275, allocations: 147.4 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.002339, allocations: 0 / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.002388, allocations: 3.938 kB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.002503, allocations: 7.938 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.002692, allocations: 39.77 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.015e-05/0.002772, allocations: 27.92 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.002858, allocations: 7.984 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.002902, allocations: 15.98 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.683e-05/0.002929, allocations: 15.92 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.002948, allocations: 0 / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.002958, allocations: 4 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.002998, allocations: 11.94 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.003018, allocations: 4 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003124, allocations: 27.84 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.003127, allocations: 0 / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.00313, allocations: 3.984 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.003135, allocations: 0 / 274.8 MB, free: 15.67 MB / 266.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.0003576/0.003493, allocations: 384.4 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.003526, allocations: 12.03 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.003563, allocations: 12.89 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.003714, allocations: 139.5 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.003731, allocations: 4.375 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.00374, allocations: 4.375 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.003936, allocations: 105.6 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.003943, allocations: 192 / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.00395, allocations: 4.375 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.003958, allocations: 4.375 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.672e-05/0.003975, allocations: 7.938 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.004201, allocations: 263.5 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.00425, allocations: 54.12 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.004272, allocations: 15.38 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.004286, allocations: 4 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.004306, allocations: 41.39 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.004307, allocations: 0 / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001243/0.004431, allocations: 53.58 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.00447, allocations: 85.05 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.00455, allocations: 181.9 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.004559, allocations: 29.7 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.004601, allocations: 134.9 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.183e-06/0.004608, allocations: 3.953 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.004631, allocations: 19.38 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.004746, allocations: 0.4884 MB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.004756, allocations: 0 / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.004763, allocations: 8.25 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.808e-05/0.004781, allocations: 7.688 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004782, allocations: 0 / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.031e-05/0.004823, allocations: 37.64 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.004834, allocations: 4 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.00484, allocations: 7.938 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.004851, allocations: 0 / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.522e-05/0.004867, allocations: 4 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.00487, allocations: 0 / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.004889, allocations: 0 / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.004894, allocations: 8.078 kB / 276.9 MB, free: 13.32 MB / 266.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.92e-05/0.004953, allocations: 160.6 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.004984, allocations: 33.66 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.00501, allocations: 15.41 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005012, allocations: 0 / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.005015, allocations: 0 / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.005018, allocations: 7.922 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.126e-05/0.00511, allocations: 120.6 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.005112, allocations: 7.938 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-06/0.005115, allocations: 0 / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005116, allocations: 4.031 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.005122, allocations: 0 / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.005124, allocations: 3.938 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.005127, allocations: 7.984 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.005483, allocations: 199.6 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.005505, allocations: 7.953 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.005514, allocations: 0 / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.005552, allocations: 11.94 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.005576, allocations: 3.984 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.00558, allocations: 0 / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.393e-05/0.005624, allocations: 151.1 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005624, allocations: 0 / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.005759, allocations: 4 kB / 277.7 MB, free: 12.52 MB / 266.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 6.862e-05/0.005828, allocations: 95.25 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.124e-05/0.005899, allocations: 11.69 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.005901, allocations: 0 / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/0.005911, allocations: 7.688 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.006137, allocations: 20.45 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002344/0.006372, allocations: 153.1 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.006407, allocations: 59.34 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.00642, allocations: 0 / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.006444, allocations: 8.5 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.006445, allocations: 0 / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of Templates: time 0.002063/0.008508, allocations: 0.5208 MB / 278.5 MB, free: 11.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.654371380340308]