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.001122/0.001122, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002803, 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.001033/0.001033, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002141, 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.017/1.017, allocations: 177.4 MB / 189.9 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09185/1.109, allocations: 53.86 MB / 243.7 MB, free: 14.89 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.563e-06/1.563e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.915e-06/9.478e-06, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001585/0.001594, allocations: 1.603 MB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000186/0.00178, allocations: 140.2 kB / 246.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.001834, allocations: 3.938 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.001862, allocations: 3.938 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.001913, allocations: 7.984 kB / 246.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.002037, allocations: 31.84 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.002112, allocations: 27.92 kB / 246.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.589e-05/0.002178, allocations: 15.94 kB / 246.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.002233, allocations: 27.91 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.409e-05/0.002267, allocations: 4 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.002286, allocations: 0 / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.002295, allocations: 4 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.002325, allocations: 15.88 kB / 246.9 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.002345, allocations: 7.938 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.416e-05/0.002419, allocations: 23.91 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.002431, allocations: 0 / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002432, allocations: 0 / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.002446, allocations: 0 / 246.9 MB, free: 11.71 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.0003405/0.002786, allocations: 280.3 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.002817, allocations: 8.625 kB / 247.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.002842, allocations: 8.922 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.002971, allocations: 121.8 kB / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.002987, allocations: 4.375 kB / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.002994, allocations: 4.359 kB / 247.3 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.003138, allocations: 94.3 kB / 247.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.003144, allocations: 4.188 kB / 247.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.00315, allocations: 4.375 kB / 247.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003155, allocations: 384 / 247.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.003171, allocations: 11.88 kB / 247.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.003332, allocations: 149.2 kB / 247.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.941e-05/0.003371, allocations: 41.16 kB / 247.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.003386, allocations: 9.719 kB / 247.6 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.003403, allocations: 4.062 kB / 247.6 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.003422, allocations: 38.55 kB / 247.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.003423, allocations: 4 kB / 247.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.011e-05/0.003513, allocations: 41.62 kB / 247.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.003553, allocations: 88.98 kB / 247.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.003622, allocations: 134.1 kB / 247.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.00363, allocations: 25.7 kB / 248 MB, free: 10.49 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.00366, allocations: 84.12 kB / 248.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-06/0.003667, allocations: 4 kB / 248.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.003688, allocations: 13.72 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.003768, allocations: 326.8 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-06/0.003774, allocations: 4.25 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.003778, allocations: 0 / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.497e-05/0.003793, allocations: 8.859 kB / 248.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003795, allocations: 0 / 248.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.94e-05/0.003824, allocations: 29.7 kB / 248.4 MB, free: 10 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.003835, allocations: 8 kB / 248.4 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.003841, allocations: 7.984 kB / 248.4 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.003848, allocations: 0 / 248.4 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.486e-05/0.003863, allocations: 3.938 kB / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.003866, allocations: 4.031 kB / 248.5 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.00388, allocations: 4 kB / 248.5 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-06/0.003883, allocations: 4 kB / 248.5 MB, free: 9.973 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 6.001e-05/0.003943, allocations: 108.7 kB / 248.6 MB, free: 9.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.003969, allocations: 33.69 kB / 248.6 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.003989, allocations: 11.47 kB / 248.6 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.00399, allocations: 0 / 248.6 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.003993, allocations: 3.938 kB / 248.6 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.003995, allocations: 0 / 248.6 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.232e-05/0.004068, allocations: 73.88 kB / 248.7 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004068, allocations: 4.031 kB / 248.7 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-06/0.004072, allocations: 4 kB / 248.7 MB, free: 9.707 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.004091, allocations: 7.953 kB / 248.7 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.004092, allocations: 0 / 248.7 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-06/0.004095, allocations: 0 / 248.7 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.004098, allocations: 7.984 kB / 248.7 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.004101, allocations: 7.875 kB / 248.7 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.158e-05/0.004162, allocations: 136.4 kB / 248.9 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-06/0.004169, allocations: 0 / 248.9 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.004201, allocations: 7.984 kB / 248.9 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.004219, allocations: 7.969 kB / 248.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.004222, allocations: 0 / 248.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.877e-05/0.004241, allocations: 28.77 kB / 248.9 MB, free: 9.484 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004241, allocations: 0 / 248.9 MB, free: 9.484 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001046/0.004345, allocations: 4 kB / 248.9 MB, free: 9.48 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 5.865e-05/0.004404, allocations: 72.42 kB / 249 MB, free: 9.398 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.462e-05/0.004449, allocations: 16.8 kB / 249 MB, free: 9.379 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.004452, allocations: 4 kB / 249 MB, free: 9.375 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.004462, allocations: 8.922 kB / 249 MB, free: 9.363 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.004621, allocations: 23.55 kB / 249 MB, free: 9.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.004924, allocations: 143.7 kB / 249.2 MB, free: 9.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.004959, allocations: 59.3 kB / 249.2 MB, free: 9.094 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.217e-05/0.004971, allocations: 0 / 249.2 MB, free: 9.094 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.005016, allocations: 55.36 kB / 249.3 MB, free: 9.039 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.005017, allocations: 0 / 249.3 MB, free: 9.039 MB / 250.7 MB Notification: Performance of Templates: time 0.00171/0.006727, allocations: 0.497 MB / 249.8 MB, free: 8.551 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4012683294713497]